DataAdapter Extension
Location
- Reference: RemObjects.DataAbstract.Async.dll
- Namespace: RemObjects.DataAbstract
- Extends: DataAdapter
Instance Methods
FillAsync (DataSet, Boolean): Task
Retrieves data from the server and fills the provided DataSet.
method FillAsync(dataset: DataSet; applySchema: Boolean): Task
Task FillAsync(DataSet dataset, Boolean applySchema)
Function FillAsync(dataset As DataSet, applySchema As Boolean) As Task
Parameters:
- dataset: DataSet to load data into
- applySchema: Flag indicating wheter Schema should be downloaded from the server and applied to the DataSet
FillAsync (DataSet, Schema, Boolean): Task
Retrieves data from the server and fills the provided DataSet.
method FillAsync(dataset: DataSet; schema: Schema; applySchema: Boolean): Task
Task FillAsync(DataSet dataset, Schema schema, Boolean applySchema)
Function FillAsync(dataset As DataSet, schema As Schema, applySchema As Boolean) As Task
Parameters:
- dataset: DataSet to load data into
- schema: Data Schema. Used to retrieve names of the Schema tables to load
- applySchema: Flag indicating wheter Schema should be downloaded from the server and applied to the DataSet
FillAsync (DataSet, array of String, Boolean): Task
Retrieves data from the server and fills the provided DataSet.
method FillAsync(dataset: DataSet; tableNames: array of String; applySchema: Boolean): Task
Task FillAsync(DataSet dataset, String[] tableNames, Boolean applySchema)
Function FillAsync(dataset As DataSet, tableNames As String(), applySchema As Boolean) As Task
Parameters:
- dataset: DataSet to load data into
- tableNames: Names of Schema tables to load
- applySchema: Flag indicating wheter Schema should be downloaded from the server and applied to the DataSet
FillAsync (DataSet, array of String, array of WhereExpression, Boolean): Task
Retrieves data from the server and fills the provided DataSet.
method FillAsync(dataset: DataSet; tableNames: array of String; whereClauses: array of WhereExpression; applySchema: Boolean): Task
Task FillAsync(DataSet dataset, String[] tableNames, WhereExpression[] whereClauses, Boolean applySchema)
Function FillAsync(dataset As DataSet, tableNames As String(), whereClauses As WhereExpression(), applySchema As Boolean) As Task
Parameters:
- dataset: DataSet to load data into
- tableNames: Names of Schema tables to load
- whereClauses: DynamicWhere conditions that should be applied to the tables listed in the tableNames parameter
- applySchema: Flag indicating wheter Schema should be downloaded from the server and applied to the DataSet
FillAsync (DataSet, array of String, array of TableRequestInfo, Boolean): Task
Retrieves data from the server and fills the provided DataSet.
method FillAsync(dataset: DataSet; tableNames: array of String; tableRequestInfo: array of TableRequestInfo; applySchema: Boolean): Task
Task FillAsync(DataSet dataset, String[] tableNames, TableRequestInfo[] tableRequestInfo, Boolean applySchema)
Function FillAsync(dataset As DataSet, tableNames As String(), tableRequestInfo As TableRequestInfo(), applySchema As Boolean) As Task
Parameters:
- dataset: DataSet to load data into
- tableNames: Names of Schema tables to load
- tableRequestInfo: Additional request parameters for the tables listed in the tableNames parameter
- applySchema: Flag indicating wheter Schema should be downloaded from the server and applied to the DataSet
FillAsync (DataTable, WhereExpression, Boolean): Task
Retrieves data from the server and fills the provided DataTable.
method FillAsync(table: DataTable; whereClause: WhereExpression; applySchema: Boolean): Task
Task FillAsync(DataTable table, WhereExpression whereClause, Boolean applySchema)
Function FillAsync(table As DataTable, whereClause As WhereExpression, applySchema As Boolean) As Task
Parameters:
- table: DataTable to load data into
- whereClause: DynamicWhere condition that should be applied to the data
- applySchema: Flag indicating wheter Schema should be downloaded from the server and applied to the DataSet
FillAsync (DataTable, TableRequestInfo, Boolean): Task
Retrieves data from the server and fills the provided DataTable.
method FillAsync(table: DataTable; tableRequestInfo: TableRequestInfo; applySchema: Boolean): Task
Task FillAsync(DataTable table, TableRequestInfo tableRequestInfo, Boolean applySchema)
Function FillAsync(table As DataTable, tableRequestInfo As TableRequestInfo, applySchema As Boolean) As Task
Parameters:
- table: DataTable to load data into
- tableRequestInfo: DynamicWhere condition that should be applied to the data
- applySchema: Flag indicating wheter Schema should be downloaded from the server and applied to the DataSet
FillWithDASqlAsync
Retrieves result of the DA SQL query from the server and fills the provided DataTable.
method FillWithDASqlAsync(table: DataTable; sql: String; parameters: array of DataParameter): Task
Task FillWithDASqlAsync(DataTable table, String sql, DataParameter[] parameters)
Function FillWithDASqlAsync(table As DataTable, sql As String, parameters As DataParameter()) As Task
Parameters:
UpdateAsync (DataSet): Task
Applies changes in the provided DataSet to the server.
method UpdateAsync(dataset: DataSet): Task
Task UpdateAsync(DataSet dataset)
Function UpdateAsync(dataset As DataSet) As Task
Parameters:
- dataset: DataSet containing changed tables
UpdateAsync (DataSet, array of String): Task
Applies changes in the provided DataSet to the server.
method UpdateAsync(dataset: DataSet; tableNames: array of String): Task
Task UpdateAsync(DataSet dataset, String[] tableNames)
Function UpdateAsync(dataset As DataSet, tableNames As String()) As Task
Parameters:
- dataset: DataSet containing changed tables
- tableNames: Names of tables whose changes should be sent to the server
UpdateAsync (array of Delta, Boolean): Task
Applies changes contained in the provided Delta array to the server.
method UpdateAsync(deltas: array of Delta; ignoreErrors: Boolean): Task
Task UpdateAsync(Delta[] deltas, Boolean ignoreErrors)
Function UpdateAsync(deltas As Delta(), ignoreErrors As Boolean) As Task
Parameters:
- deltas: Array of Delta instances containing data changes
- ignoreErrors: Flag indicating wheter update errors should be ignored