DatasetQuery Class
Name | Description | |
---|---|---|
DatasetQuery(RunObj, int) | Construct the instance |
Name | Description | |
---|---|---|
AsyncContents | Contains the TDataTable that resulted from one of the asynchronous commands, such as Select or Next. | |
Category | ReadOnly property with categories configured to DatasetQuery object. | |
Completed | The value of this property is incremented when an asynchronous operation is concluded. | |
CursorIndex | Defines the current row position in the resulting DatasetTable. | |
DB | Gets the DB configured in EditDatasetsTables. | |
DateTimeMode | Mapping DateTime Mode: (0-Local, 1-UTC) | |
Description | Gets the description of the DatasetQuery. | |
Disable |
Disables the commands to the DatasetQuery when the value is greater than zero.
0 = Enables the commands to the DatasetQuery 1 = Disables the commands to the DatasetQuery |
|
Execute | Sends an asynchronous Execute command when the value is changed. | |
ExecuteCompleted | The value of this property is changed when the asynchronous Execute command is completed. | |
Id | Object ID (Internal Use). | |
LastStatus |
Gets the status of the last (most recent) asynchronous operation.
zero = success different than zero = error code |
|
LastStatusMessage | Gets the status message of the last (most recent) asynchronous operation, where an empty string indicates success. | |
Level | ReadOnly property with levels configured to DatasetQuery object. | |
LocalContents | Contains the TDataTable that resulted from one of the sync commands, such as SelectCommand or NextCommand. | |
Mapping | Gets the mapping of the resulting DataTable columns with the Tags. | |
Next | Sends an asynchronous Next command when the value is changed. | |
NextExecuted | The value of this property is changed when the asynchronous Next command is completed. | |
RowCount | Gets the total number of rows in the resulting DatasetTable. | |
Select | Sends an asynchronous Select command when the value is changed. | |
SelectExecuted | The value of this property is changed when the asynchronous Select command is completed. | |
SqlStatement | Defines the SQL command to be executed. |
Name | Description | |
---|---|---|
BeginSelectCommandAsync(AsyncCallback) | Begin executing an asynchronous Select command on the DatasetQuery | |
EndSelectCommand(IAsyncResult) | End executing an asynchronous Select command on the DatasetTable | |
ExecuteCommandAsync() | Execute an asynchronous command according to the SqlStatement | |
NextCommandAsync() | Executes a synchronous Next command that increments the value of the CursorIndex property. | |
SelectCommandAsync() | Executes a synchronous Select command, according to the SqlStatement. | |
SelectCommandWithStatusAsync(TRef<int>) | Executes an asynchronous Select command according to the SqlStatement, and displays status information. |
T.Modules.Dataset.DatasetQuery