Exemple #1
0
 public static Task <int> ExecuteQueryAsync(this DbConnection connection, string sql, DbTransaction transaction, CancellationToken token, params DbParameter[] parameters)
 {
     return(connection.ExecuteQueryAsync(sql, transaction, null, token, parameters));
 }
Exemple #2
0
 public static Task <int> ExecuteQueryAsync(this DbConnection connection, string sql, DbTransaction transaction, IEnumerable <DbParameter> parameters = null)
 {
     return(connection.ExecuteQueryAsync(sql, transaction, null, parameters));
 }