[]
        
(Showing Draft Content)

C1.DataConnector.AdoNet.C1CommandBase.ExecuteDbDataReaderAsync

ExecuteDbDataReaderAsync Method

ExecuteDbDataReaderAsync(CommandBehavior, CancellationToken)

An asynchronous version of method ExecuteDbDataReader(CommandBehavior) that executes the command text against the connection.

Declaration
protected override Task<DbDataReader> ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
Parameters
Type Name Description
CommandBehavior behavior

An instance of CommandBehavior.

CancellationToken cancellationToken

The cancellation token to abort the query execution at any moment.

Returns
Type Description
Task<DbDataReader>

A task representing the asynchronous operation. The task generic parameter is a DbDataReader representing the table result of the query execution.

Overrides