Exemple #1
0
 public Page <TProjection> QueryPaged <TBase, TProjection>(ProjectedSelectQuery <TBase, TProjection> query)
     where TBase : class, new()
 {
     return(this.engine.QueryPaged(this.MaybeOpenConnection(), this.GetTransaction(), query));
 }
Exemple #2
0
 public async Task <Page <TProjection> > QueryPagedAsync <TBase, TProjection>(ProjectedSelectQuery <TBase, TProjection> query)
     where TBase : class, new()
 {
     return(await this.engine.QueryPagedAsync(await this.MaybeOpenConnectionAsync(), await this.GetTransactionAsync(), query));
 }