コード例 #1
0
 public async Task <IQueryable <T> > WhereAsync(Expression <Func <T, bool> > predicate)
 {
     QueriesCount++;
     return(await Task.Run(() => CurrentWorkSet.Where(predicate)));
 }
コード例 #2
0
 public IQueryable <T> Where(Expression <Func <T, bool> > predicate)
 {
     QueriesCount++;
     return(CurrentWorkSet.Where(predicate));
 }