Beispiel #1
0
 public static Task <DbDataReader> ExecuteQueryReaderAsync(this DbConnection connection, string sql, DbTransaction transaction, CancellationToken token, params DbParameter[] parameters)
 {
     return(connection.ExecuteQueryReaderAsync(sql, transaction, null, token, parameters));
 }
Beispiel #2
0
 /*
  *  Asyncronous operations
  */
 public static Task <DbDataReader> ExecuteQueryReaderAsync(this DbConnection connection, string sql, params DbParameter[] parameters)
 {
     return(connection.ExecuteQueryReaderAsync(sql, null, null, parameters));
 }