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