예제 #1
0
        /// <summary>
        /// 查询部门数量
        /// </summary>
        /// <param name="departmentSearcher">部门查询对象</param>
        /// <param name="tran">中间事务对象</param>
        /// <returns>返回查询到的数量</returns>
        public static long CountDepartment(DepartmentSearcher departmentSearcher, ICTransaction tran)
        {
            long count = DepartmentDal.Count(departmentSearcher, tran);

            return(count);
        }
예제 #2
0
        /// <summary>
        /// 查询部门数量
        /// </summary>
        /// <param name="departmentSearcher">部门查询对象</param>
        /// <returns>返回查询到的数量</returns>
        public static long CountDepartment(DepartmentSearcher departmentSearcher)
        {
            long count = DepartmentDal.Count(departmentSearcher);

            return(count);
        }