Task<DataTable> ExecuteReaderAsync( string procedureName, CommandBehavior commandBehavior, SqlParameter[] parameters, CancellationToken cancellationToken )
Parameters
- procedureName
- Name of the procedure.
- commandBehavior
- Provides a description of the results of the query and its effect on the database.
- parameters
- The parameters.
- cancellationToken
- Propagates notification that operations should be canceled.
Return Value
IDataReader with the data.