Exemple #1
0
 public async virtual Task <IEnumerable <T> > GetPage <T>(object predicate, IList <ISort> sort, int page, int resultsPerPage, IDbTransaction transaction, int?commandTimeout, bool buffered) where T : class
 {
     return(await _dapper.GetPageAsync <T>(Connection, predicate, sort, page, resultsPerPage, transaction, commandTimeout, buffered));
 }
Exemple #2
0
 public async Task <IEnumerable <T> > GetPageAsync <T>(IDbConnection connection, object predicate = null, IList <ISort> sort = null, int page = 1, int resultsPerPage = 10, IDbTransaction transaction = null, int?commandTimeout = null) where T : class
 {
     return(await _dapper.GetPageAsync <T>(connection, predicate, sort, page, resultsPerPage, transaction, commandTimeout));
 }