public virtual async Task NonQueryAsync(MapperDb db, string sql, params object[] args) { using (var command = db.GetCommand(sql, args)) { await this.NonQueryAsync(db, command).ConfigureAwait(false); } }
public virtual async Task NonQueryAsync(MapperDb db, Sql sql) { using (var command = db.GetCommand(sql)) { await this.NonQueryAsync(db, command).ConfigureAwait(false); } }