示例#1
0
        public TeacherBDO GetTeacher(string teacherId)
        {
            TeacherBDO t = new TeacherBDO();

            t = teacherDAO.GetTeacherBDO(teacherId);
            t.TeacherChildrens              = teacherDAO.GetAllChildren(t.TeacherId);
            t.TeacherEligibilities          = teacherDAO.GetAllEligibility(t.TeacherId);
            t.TeacherEducationalBackgrounds = teacherDAO.GetAllEducationalBackground(t.TeacherId);
            t.TrainingSeminars              = teacherDAO.GetAllTrainingSeminars(t.TeacherId);
            t.WorkExperiences = teacherDAO.GetAllWorkExperience(t.TeacherId);
            return(t);
        }