예제 #1
0
 public async virtual Task <bool> Update <T>(T entity, IDbTransaction transaction, int?commandTimeout, bool ignoreAllKeyProperties) where T : class
 {
     return(await _dapper.UpdateAsync(Connection, entity, transaction, commandTimeout, ignoreAllKeyProperties));
 }
예제 #2
0
 public Task <bool> UpdateAsync <T>(IDbConnection connection, T entity, IDbTransaction transaction, int?commandTimeout, bool ignoreAllKeyProperties = false) where T : class
 {
     return(_dapper.UpdateAsync <T>(connection, entity, transaction, commandTimeout));
 }