Пример #1
0
 /// <summary>
 /// 获取符合条件的实体个数
 /// </summary>
 /// <param name="where">条件</param>
 /// <returns></returns>
 public int GetCount(Expression <Func <T, bool> > where = null)
 {
     return(_baseDal.GetCount(where));
 }
Пример #2
0
 public int GetCount(Expression <Func <T, bool> > whereLambda) //统计数量
 {
     return(CurrentDal.GetCount(whereLambda));
 }