Beispiel #1
0
 public static Task <DbDataReader> ExecuteProcedureReaderAsync(this DbConnection connection, string spName, DbTransaction transaction, CancellationToken?token, params DbParameter[] parameters)
 {
     return(connection.ExecuteProcedureReaderAsync(spName, transaction, null, token, parameters));
 }
Beispiel #2
0
 /*
  * No cancellation token
  */
 public static Task <DbDataReader> ExecuteProcedureReaderAsync(this DbConnection connection, string spName, params DbParameter[] parameters)
 {
     return(connection.ExecuteProcedureReaderAsync(spName, null, (int?)null, parameters));
 }