/// <summary> /// 获取记录条数 /// </summary> /// <param name="predicate"></param> /// <param name="sort"></param> /// <returns></returns> public int Count(object predicate = null) { return(dal.Count(predicate)); }