예제 #1
0
        /// <summary>
        /// 获取所有 SUBJECT。
        /// </summary>
        /// <returns>返回结果列表。</returns>
        public IQueryable <T_FB_SUBJECT> GetAllSubject(string strOwnerID)
        {
            SubjectDAL dalSubject = new SubjectDAL();

            string        filterString = string.Empty;
            List <object> objArgs      = new List <object>();

            if (!string.IsNullOrEmpty(strOwnerID))
            {
                SMT.SaaS.BLLCommonServices.Utility ul = new SaaS.BLLCommonServices.Utility();
                ul.SetOrganizationFilter(ref filterString, ref objArgs, strOwnerID, "T_FB_SUBJECT");
            }

            return(dalSubject.GetAllSubject());
        }
예제 #2
0
파일: SubjectBLL.cs 프로젝트: JuRogn/OA
        /// <summary>
        /// 获取所有 SUBJECT。
        /// </summary>
        /// <returns>返回结果列表。</returns>
        public IQueryable<T_FB_SUBJECT> GetAllSubject(string strOwnerID)
        {
            SubjectDAL dalSubject = new SubjectDAL();

            string filterString = string.Empty;
            List<object> objArgs = new List<object>();

            if (!string.IsNullOrEmpty(strOwnerID))
            {
                SMT.SaaS.BLLCommonServices.Utility ul = new SaaS.BLLCommonServices.Utility();
                ul.SetOrganizationFilter(ref filterString, ref objArgs, strOwnerID, "T_FB_SUBJECT");
            }

            return dalSubject.GetAllSubject();
        }