示例#1
0
 public async Task <QueryResult <TEntity> > GetAllAsync(QueryInputModel queryModel,
                                                        CancellationToken cancellationToken = default)
 {
     using (var db = CreateDbContext())
     {
         return(await QueryProcessor.ApplyAsync(db.Set <TEntity>().AsNoTracking(), queryModel, cancellationToken));
     }
 }