Пример #1
0
        public List <JobKpiEntity> LoadAllJobKpiAssessmentList()
        {
            List <JobKpiEntity> JobKpiAssessmentList      = new List <JobKpiEntity>();
            DataTable           JobKpiAssessmentDataTable = JobKpiAssessmentDAL.LoadAll();
            EmployeeBLL         employeeBLL = new EmployeeBLL();

            foreach (DataRow row in JobKpiAssessmentDataTable.Rows)
            {
                JobKpiEntity jobKpiEntity = new JobKpiEntity();
                jobKpiEntity.ID               = (int)row[0];
                jobKpiEntity.Employee         = employeeBLL.LoadOnePerID((int)row[1]);
                jobKpiEntity.CreatedDate      = (DateTime)row[2];
                jobKpiEntity.RoleInAssessment = (JobRankValue)row[3];
                jobKpiEntity.Status           = (AssessmentStatusValue)row[4];
                JobKpiAssessmentList.Add(jobKpiEntity);
            }

            return(JobKpiAssessmentList);
        }
Пример #2
0
 public DataTable LoadAllJobKpiAssessmentDataTable()
 {
     return(JobKpiAssessmentDAL.LoadAll());
 }
Пример #3
0
 public JobKpiAssessmentBLL()
 {
     jobKpiAssessmentDAL = new JobKpiAssessmentDAL();
 }