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.177 -- Release Build+d96749616716c7e31d7afb14792fd635b01e16cd
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.