Beispiel #1
0
        public List <TeacherEducationalBackground> ToEducBacDTO(List <TeacherEducationalBackgroundBDO> teb)
        {
            List <TeacherEducationalBackground> tebdoList = new List <TeacherEducationalBackground>();

            foreach (TeacherEducationalBackgroundBDO t in teb)
            {
                TeacherEducationalBackground tebdo = new TeacherEducationalBackground();
                TranslateTeacherEducationalBackgroundBDOToTeacheEducationalBackgroundDTO(t, tebdo);
                tebdoList.Add(tebdo);
            }
            return(tebdoList);
        }
Beispiel #2
0
 public void TranslateTeacherEducationalBackgroundToTeacherEducationalBackgroundBDO(TeacherEducationalBackground tc, TeacherEducationalBackgroundBDO tcbdo)
 {
     tcbdo.Course = tc.Course;
     tcbdo.Deactivated = tc.Deactivated;
     tcbdo.EducLevel = tc.EducLevel;
     tcbdo.HonorsReceived= tc.HonorsReceived;
     tcbdo.NameOfSchool = tc.NameOfSchool;
     tcbdo.TeacherId= tc.TeacherId;
     tcbdo.TEBId = tc.TEBId;
     tcbdo.TEBYearFrom = tc.TEBYearFrom;
     tcbdo.TEBYearTo = tc.TEBYearTo;
 }
Beispiel #3
0
 public List<TeacherEducationalBackground> ToEducBacDTO(List<TeacherEducationalBackgroundBDO> teb)
 {
     List<TeacherEducationalBackground> tebdoList = new List<TeacherEducationalBackground>();
     foreach (TeacherEducationalBackgroundBDO t in teb)
     {
         TeacherEducationalBackground tebdo = new TeacherEducationalBackground();
         TranslateTeacherEducationalBackgroundBDOToTeacheEducationalBackgroundDTO(t, tebdo);
         tebdoList.Add(tebdo);
     }
     return tebdoList;
 }
Beispiel #4
0
 public void TranslateTeacherEducationalBackgroundBDOToTeacheEducationalBackgroundDTO(TeacherEducationalBackgroundBDO tc, TeacherEducationalBackground tcbdo)
 {
     tcbdo.Course         = tc.Course;
     tcbdo.Deactivated    = tc.Deactivated;
     tcbdo.EducLevel      = tc.EducLevel;
     tcbdo.HonorsReceived = tc.HonorsReceived;
     tcbdo.NameOfSchool   = tc.NameOfSchool;
     tcbdo.TeacherId      = tc.TeacherId;
     tcbdo.TEBId          = tc.TEBId;
     tcbdo.TEBYearFrom    = tc.TEBYearFrom;
     tcbdo.TEBYearTo      = tc.TEBYearTo;
 }