Ejemplo n.º 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));
 }
Ejemplo n.º 2
0
 /*
  *  Asyncronous operations
  */
 public static Task <DbDataReader> ExecuteQueryReaderAsync(this DbConnection connection, string sql, params DbParameter[] parameters)
 {
     return(connection.ExecuteQueryReaderAsync(sql, null, null, parameters));
 }