예제 #1
0
 public async Task <int> CountWhere(Expression <Func <T, bool> > predicate) =>
 await DBSet.CountAsync(predicate);
예제 #2
0
 public async Task <int> CountAll() => await DBSet.CountAsync();