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)); }
public static Task <int> ExecuteQueryAsync(this DbConnection connection, string sql, DbTransaction transaction, IEnumerable <DbParameter> parameters = null) { return(connection.ExecuteQueryAsync(sql, transaction, null, parameters)); }