Ejemplo n.º 1
0
 public async virtual void Insert <T>(IEnumerable <T> entities, IDbTransaction transaction, int?commandTimeout) where T : class
 {
     await _dapper.InsertAsync(Connection, entities, transaction, commandTimeout);
 }
Ejemplo n.º 2
0
 public async Task <dynamic> InsertAsync <T>(T entity, int?commandTimeout = null) where T : class
 {
     return(await _dapper.InsertAsync(Connection, entity, _transaction, commandTimeout));
 }