ConnectionHelperExecuteReaderAsync Method |
Executes the query asynchronously and returns result as a DbDataReader.
The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object.
Namespace: CMS.DataEngine
public static Task<DbDataReader> ExecuteReaderAsync( string queryText, QueryDataParameters parameters, QueryTypeEnum queryType, CommandBehavior commandBehavior, CancellationToken cancellationToken )