Esempio n. 1
0
 public Task <Page <T> > PageAsync <T>(long page, long itemsPerPage, Sql sql)
 {
     return(RetryPolicy.ExecuteAsync(() => InternalDb.PageAsync <T>(page, itemsPerPage, sql)));
 }
Esempio n. 2
0
 public Task <Page <T> > PageAsync <T>(long page, long itemsPerPage, string sql, params object[] args)
 {
     return(RetryPolicy.ExecuteAsync(() => InternalDb.PageAsync <T>(page, itemsPerPage, sql, args)));
 }