[]
An asynchronous version of method ExecuteDbDataReader(CommandBehavior) that executes the command text against the connection.
protected override Task<DbDataReader> ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
CommandBehavior | behavior | An instance of CommandBehavior. |
CancellationToken | cancellationToken | The cancellation token to abort the query execution at any moment. |
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. |