Beispiel #1
0
 public async virtual Task <int> Count <T>(object predicate, IDbTransaction transaction, int?commandTimeout) where T : class
 {
     return(await _dapper.CountAsync <T>(Connection, predicate, transaction, commandTimeout));
 }
Beispiel #2
0
 public async Task <int> CountAsync <T>(IDbConnection connection, object predicate = null, IDbTransaction transaction = null, int?commandTimeout = null) where T : class
 {
     return(await _dapper.CountAsync <T>(Connection, predicate, transaction, commandTimeout));
 }