コード例 #1
0
        public List <BusinessEntities.Projects> GetProjectSummaryForPageLoad(BusinessEntities.ProjectCriteria objProjectCriteria, int pageSize, ref int pageCount, bool setPageing)
        {
            List <BusinessEntities.Projects> objProjectSummary = new List <BusinessEntities.Projects>();

            try
            {
                Rave.HR.DataAccessLayer.Projects.Projects objGetProjectSummaryDAL = new Rave.HR.DataAccessLayer.Projects.Projects();
                objProjectSummary = objGetProjectSummaryDAL.GetProjectSummaryForPageLoad(objProjectCriteria, pageSize, ref pageCount, setPageing);
            }
            catch (RaveHRException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw new RaveHRException(ex.Message, ex, Sources.BusinessLayer, "RaveHRProjects.cs", "GetProjectSummaryForPageLoad", EventIDConstants.RAVE_HR_PROJECTS_BUSNIESS_LAYER);
            }
            return(objProjectSummary);
        }
コード例 #2
0
        /// <summary>
        /// Added by Subhra : Issue Id 27631 Start
        /// To get Client name as per selected ProjectStatus
        /// </summary>
        /// <returns></returns>
        public List <BusinessEntities.Projects> GetClientNameAsPerStatus(BusinessEntities.ProjectCriteria objProjectCriteria)
        {
            try
            {
                Rave.HR.DataAccessLayer.Projects.Projects objClientNameDAL;
                List <BusinessEntities.Projects>          ClientName;
                objClientNameDAL = new Rave.HR.DataAccessLayer.Projects.Projects();
                ClientName       = new List <BusinessEntities.Projects>();
                ClientName       = objClientNameDAL.GetClientNameAsPerStatus(objProjectCriteria);
                return(ClientName);
            }

            catch (RaveHRException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw new RaveHRException(ex.Message, ex, Sources.BusinessLayer, PROJECTS, "GetClientNameAsPerStatus", EventIDConstants.RAVE_HR_RECRUITMENT_BUSNIESS_LAYER);
            }
        }