    

 ## On this page

  

 

 # Class MeshFile

 Last update: 16.07.2025 

Namespace: [VM.Models.FE.Mesh](VM.Models.FE.Mesh.md)  
Assembly: VM.Models.FE.Mesh.dll

```csharp
public class MeshFile

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [MeshFile](VM.Models.FE.Mesh.MeshFile.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_), [BDFWriter.WriteBDFFile(MeshFile, string, Action&lt;TextWriter&gt;, Action&lt;TextWriter&gt;)](VM.Models.FE.Mesh.Writer.BDFWriter.md#VM_Models_FE_Mesh_Writer_BDFWriter_WriteBDFFile_VM_Models_FE_Mesh_MeshFile_System_String_System_Action_System_IO_TextWriter__System_Action_System_IO_TextWriter__), [BDFWriter.WriteBDFFile(MeshFile, Stream, Action&lt;TextWriter&gt;, Action&lt;TextWriter&gt;)](VM.Models.FE.Mesh.Writer.BDFWriter.md#VM_Models_FE_Mesh_Writer_BDFWriter_WriteBDFFile_VM_Models_FE_Mesh_MeshFile_System_IO_Stream_System_Action_System_IO_TextWriter__System_Action_System_IO_TextWriter__), [BDFWriter.WriteBDFFile(MeshFile, TextWriter, Action&lt;TextWriter&gt;, Action&lt;TextWriter&gt;)](VM.Models.FE.Mesh.Writer.BDFWriter.md#VM_Models_FE_Mesh_Writer_BDFWriter_WriteBDFFile_VM_Models_FE_Mesh_MeshFile_System_IO_TextWriter_System_Action_System_IO_TextWriter__System_Action_System_IO_TextWriter__), [NeutralWriter.WriteNeutralFile(MeshFile, string)](VM.Models.FE.Mesh.Writer.NeutralWriter.md#VM_Models_FE_Mesh_Writer_NeutralWriter_WriteNeutralFile_VM_Models_FE_Mesh_MeshFile_System_String_), [NeutralWriter.WriteNeutralFile(MeshFile, Stream)](VM.Models.FE.Mesh.Writer.NeutralWriter.md#VM_Models_FE_Mesh_Writer_NeutralWriter_WriteNeutralFile_VM_Models_FE_Mesh_MeshFile_System_IO_Stream_), [NeutralWriter.WriteNeutralFile(MeshFile, BinaryWriter)](VM.Models.FE.Mesh.Writer.NeutralWriter.md#VM_Models_FE_Mesh_Writer_NeutralWriter_WriteNeutralFile_VM_Models_FE_Mesh_MeshFile_System_IO_BinaryWriter_)

## Constructors

### MeshFile()

```csharp
public MeshFile()

```

## Properties

### IsTemporary

```csharp
protected bool IsTemporary { get; set; }

```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

## Methods

### Add(object)

```csharp
public void Add(object obj)

```

#### Parameters

`obj` [object](https://learn.microsoft.com/dotnet/api/system.object)

### AddBunch(IEnumerable)

```csharp
public void AddBunch(IEnumerable enumObjs)

```

#### Parameters

`enumObjs` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable)

### Connect(string)

```csharp
public static MeshFile Connect(string pathMeshFile)

```

#### Parameters

`pathMeshFile` [string](https://learn.microsoft.com/dotnet/api/system.string)

#### Returns

[MeshFile](VM.Models.FE.Mesh.MeshFile.md)

### Create(string)

```csharp
public static MeshFile Create(string pathMeshFile)

```

#### Parameters

`pathMeshFile` [string](https://learn.microsoft.com/dotnet/api/system.string)

#### Returns

[MeshFile](VM.Models.FE.Mesh.MeshFile.md)

### CreateTable&lt;T&gt;()

```csharp
protected void CreateTable<T>() where T : new()

```

#### Type Parameters

`T`

### CreateTemporary()

```csharp
public static MeshFile CreateTemporary()

```

#### Returns

[MeshFile](VM.Models.FE.Mesh.MeshFile.md)

### Dispose()

```csharp
public void Dispose()

```

### Dispose(bool)

```csharp
protected virtual void Dispose(bool disposing)

```

#### Parameters

`disposing` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Initialize(string)

```csharp
protected void Initialize(string pathMeshFile)

```

#### Parameters

`pathMeshFile` [string](https://learn.microsoft.com/dotnet/api/system.string)

### QueryByColumn&lt;T&gt;(string, object)

```csharp
public IEnumerable<T> QueryByColumn<T>(string columnName, object value) where T : class, new()

```

#### Parameters

`columnName` [string](https://learn.microsoft.com/dotnet/api/system.string)

`value` [object](https://learn.microsoft.com/dotnet/api/system.object)

#### Returns

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;T&gt;

#### Type Parameters

`T`

### Table&lt;T&gt;()

```csharp
public IEnumerable<T> Table<T>() where T : class, new()

```

#### Returns

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;T&gt;

#### Type Parameters

`T`

### TryQueryByID&lt;T&gt;(int, out T)

```csharp
public bool TryQueryByID<T>(int id, out T result) where T : class, new()

```

#### Parameters

`id` [int](https://learn.microsoft.com/dotnet/api/system.int32)

`result` T

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

#### Type Parameters

`T`