Class SerializableTable
A serializable object used during import and export of DataTableBase based data.
Inheritance
System.Object
    SerializableTable
  Namespace: GDX.DataTables.DataBinding
Syntax
[Serializable]
public class SerializableTableConstructors
| Improve this Doc View SourceSerializableTable()
Creates a new empty SerializableTable.
Declaration
public SerializableTable()SerializableTable(DataTableBase)
Creates a new SerializableTable from a DataTableBase.
Declaration
public SerializableTable(DataTableBase dataTable)Parameters
| Type | Name | Description | 
|---|---|---|
| DataTableBase | dataTable | Populate the data set from this target. | 
Fields
| Improve this Doc View SourceDataVersion
The version of the data at the point of export.
Declaration
public ulong DataVersionField Value
| Type | Description | 
|---|---|
| System.UInt64 | 
Headers
The column names.
Declaration
public string[] HeadersField Value
| Type | Description | 
|---|---|
| System.String[] | 
Rows
The row data.
Declaration
public SerializableRow[] RowsField Value
| Type | Description | 
|---|---|
| SerializableRow[] | 
StructureVersion
The structural version of the data at the point of export.
Declaration
public int StructureVersionField Value
| Type | Description | 
|---|---|
| System.Int32 | 
Types
The column types.
Declaration
public string[] TypesField Value
| Type | Description | 
|---|---|
| System.String[] | 
Methods
| Improve this Doc View SourceUpdate(DataTableBase, Boolean)
Update the target dataTable based on the data found in the SerializableTable
Declaration
public bool Update(DataTableBase dataTable, bool removeRowIfNotFound = true)Parameters
| Type | Name | Description | 
|---|---|---|
| DataTableBase | dataTable | The DataTableBase to update. | 
| System.Boolean | removeRowIfNotFound | Should rows not found in the SerializableTable be removed from the DataTableBase. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | Was this operation successful? |