Ejemplo n.º 1
0
 public void ConvertTeacherEducationalBackgroundBDOToTeacherEducationalBackground(TeacherEducationalBackgroundBDO tc, TeacherEducationalBackground eb, string teacherId)
 {
     eb.Course = tc.Course;
     eb.Deactivated = tc.Deactivated;
     eb.EducLevel = tc.EducLevel;
     eb.HonorsReceived = tc.HonorsReceived;
     eb.NameOfSchool = tc.NameOfSchool;
     eb.TeacherId = teacherId;
     eb.TEBId = tc.TEBId;
     eb.TEBYearFrom = tc.TEBYearFrom;
     eb.TEBYearTo = tc.TEBYearTo;
 }
Ejemplo n.º 2
0
 public void ConvertTeacherEducationalBackgroundToTeacherEducationalBackgroundBDO(TeacherEducationalBackground tc, TeacherEducationalBackgroundBDO eb)
 {
     eb.Course = tc.Course;
     eb.Deactivated = tc.Deactivated;
     eb.EducLevel = tc.EducLevel;
     eb.HonorsReceived = tc.HonorsReceived;
     eb.NameOfSchool = tc.NameOfSchool;
     eb.TeacherId = tc.TeacherId;
     eb.TEBId = tc.TEBId;
     eb.TEBYearFrom = (DateTime)tc.TEBYearFrom;
     eb.TEBYearTo = (DateTime)tc.TEBYearTo;
 }
Ejemplo n.º 3
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;
 }
Ejemplo n.º 4
0
 public List<TeacherEducationalBackgroundBDO> ToEducBacBDO(List<TeacherEducationalBackground> teb)
 {
     List<TeacherEducationalBackgroundBDO> tebdoList = new List<TeacherEducationalBackgroundBDO>();
     foreach (TeacherEducationalBackground t in teb)
     {
         TeacherEducationalBackgroundBDO tebdo = new TeacherEducationalBackgroundBDO();
         TranslateTeacherEducationalBackgroundToTeacherEducationalBackgroundBDO(t, tebdo);
         tebdoList.Add(tebdo);
     }
     return tebdoList;
 }
Ejemplo n.º 5
0
 private List<TeacherEducationalBackgroundBDO> ToEducationalBackBDOList(ICollection<TeacherEducationalBackground> tcl)
 {
     List<TeacherEducationalBackgroundBDO> ebList = new List<TeacherEducationalBackgroundBDO>();
     foreach (TeacherEducationalBackground tc in tcl)
     {
         TeacherEducationalBackgroundBDO eb = new TeacherEducationalBackgroundBDO();
         ConvertTeacherEducationalBackgroundToTeacherEducationalBackgroundBDO(tc, eb);
         ebList.Add(eb);
     }
     return ebList;
 }