示例#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();