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.167 -- Release Build+a63d2f336930b0b8a2e0d51bc652b0af46e5d00a
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.