AdoDataConnectionRetrieveDataAsAsyncEnumerable(DataTable, Int32, String, CancellationToken, Object) Method
Executes the SQL statement using
Connection using a
DbDataReader and returns
data rows based on the provided
schema as an asynchronous enumerable.
Namespace: Gemstone.DataAssembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.169 -- Release Build+adcc694938ddb0c37a2b1414eab017f00bb57688
function RetrieveDataAsAsyncEnumerable(schema, timeout, sqlFormat, cancellationToken, ... parameters);
- schema DataTable
- DataTable that defines the schema for the data rows.
- timeout Int32
- The time in seconds to wait for the SQL statement to execute.
- sqlFormat String
- Format string for the SQL statement to be executed.
- cancellationToken CancellationToken
- Propagates notification that operations should be canceled.
- parameters Object
- The parameter values to be used to fill in DbParameter parameters.
IAsyncEnumerableDataRowAn asynchronous enumerable of
DataRow objects.
If provided schema does not match the schema of the result set based on sqlFormat,
the results may be unpredictable or method call may fail.