Exemplo n.º 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);
        }
Exemplo n.º 2
0
        /// <summary>
        /// 查询部门数量
        /// </summary>
        /// <param name="departmentSearcher">部门查询对象</param>
        /// <returns>返回查询到的数量</returns>
        public static long CountDepartment(DepartmentSearcher departmentSearcher)
        {
            long count = DepartmentDal.Count(departmentSearcher);

            return(count);
        }