Esempio n. 1
0
 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);
     }
 }
Esempio n. 2
0
 public virtual async Task NonQueryAsync(MapperDb db, Sql sql)
 {
     using (var command = db.GetCommand(sql))
     {
         await this.NonQueryAsync(db, command).ConfigureAwait(false);
     }
 }