DatasetTable Class

Class for DatasetTable operation.
Public Class DatasetTable 
Implements IDatasetTable
This language is not supported or no code example is available.
public class DatasetTable : IDatasetTable
This language is not supported or no code example is available.
Name Description
Public constructor DatasetTable(RunObj, int) Construct the instance
Top
Name Description
Public property Access Access Type of the DatasetTable.
Public property AsyncContents Contains the TDataTable resulting from one of the asynchronous commands, such as Select or Update.
Public property Category ReadOnly property with categories configured on DatasetQuery object.
Public property Completed The value of this property is incremented when an asynchronous operation is concluded.
Public property CursorIndex Defines the current row position in the DatasetTable.
Public property DB Gets the DB configured in EditDatasetsTables
Public property DateTimeMode Mapping DateTime Mode: (0-Local, 1-UTC)
Public property Delete Sends an asynchronous Delete command when the value is changed.
Public property DeleteExecuted The value of this property is changed when the asynchronous Delete command is completed.
Public property Description Gets the description of the DatasetTable.
Public property Disable Disables the commands to the DatasetTable when the value is greater than zero.
Public property Id Object ID (Internal Use).
Public property Insert Sends an asynchronous Insert command when the value is changed.
Public property InsertExecuted The value of this property is changed when the asynchronous Insert command is completed.
Public property LastStatus Gets the status of the last (most recent) asynchronous operation.
Public property LastStatusMessage Gets the status message of the last (most recent) asynchronous operation, where an empty string signifies success.
Public property Level ReadOnly property with levels configured on DatasetTable object.
Public property LocalContents Contains the TDataTable resulting from one of the synchronous commands, such as SelectCommand or UpdateCommand.
Public property Mapping Gets the mapping of the DataTable columns with the Tags.
Public property Next Sends an asynchronous Next command when the value is changed.
Public property NextExecuted The value of this property is changed when the asynchronous Next command is completed.
Public property RowCount Gets the total number of rows in the DatasetTable.
Public property Select Sends an asynchronous Select command when the value is changed.
Public property SelectExecuted The value of this property is changed when the asynchronous Select command is completed.
Public property TableName Gets the name of the DataTable.
Public property Update Sends an asynchronous Update command when the value is changed.
Public property UpdateExecuted The value of this property is changed when the asynchronous Update command is completed.
Public property WhereCondition Defines the Where condition for the DatasetTable.
Top
Methods
 
Name Description
Public method BeginSelectCommandAsync(AsyncCallback) Begin executing an asynchronous Select command on the DatasetTable
Public method DeleteCommandAsync() Deletes the current row of the DatasetTable.
Public method EndSelectCommand(IAsyncResult) End executing an asynchronous Select command on the DatasetTable
Public method InsertCommandAsync() Inserts the values from the tags configured in the mapping column into the DatasetTable at the position indicated by the CursorIndex property.
Public method NextCommandAsync() Executes an asynchronous Next command that increments the value of the CursorIndex property.
Public method ReceiveDeleteCommand(object, RuntimeEventArgs) Receive event of delete command
Public method ReplaceAllContentsAsync(DataTable) Replace all contents of datatable on database. The current datatable is deleted and the new datatable is inserted.
Public method ReplaceAllContentsWithStatusAsync(DataTable, TRef<int>) Replace all contents of datatable on database. The current datatable is deleted and the new datatable is inserted.
Public method SelectCommandAsync() Executes an asynchronous Select command on the DatasetTable.
Public method SelectCommandWithStatusAsync(TRef<int>) Executes an asynchronous Select command on the DatasetTable, and provides status information.
Public method UpdateCommandAsync() Updates the current row of the DatasetTable with the values from the tags configured in the mapping column.
Public method UpdateCommandWithStatusAsync(TRef<int>) Updates the current row of the DatasetTable with the values from the tags configured in the mapping column, and provides status information.
Public method UpdateFromDataTableAsync(DataTable, bool) Update all contents of datatable on database. The current datatable is updated with data of new datatable.
Public method UpdateFromDataTableWithStatusAsync(DataTable, TRef<int>, bool) Update all contents of datatable on database. The current datatable is updated with data of new datatable.
Top
T.Modules.Dataset.DatasetTable

.NET Framework

Supported in: 4.6.2, 4.7

In this article

Definition