AdoDataConnectionRetrieveDataAsAsyncEnumerable(DataTable, 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.166 -- Release Build+4734116ef9caa0a1e84bf70b15935e09ea790ab3
function RetrieveDataAsAsyncEnumerable(schema, sqlFormat, cancellationToken, ... parameters);
- schema DataTable
- DataTable that defines the schema for the data rows.
- 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.