Exemple #1
0
 public void ConvertTeacherEligibilityToTeacherEligibilityBDO(TeacherEligibility tc, TeacherEligibilityBDO telig)
 {
     telig.DateOfExam = (DateTime)tc.DateOfExam;
     telig.Eligibility = tc.Eligibility;
     telig.EligibilityId = tc.EligibilityId;
     telig.IssueDate = (DateTime)tc.IssueDate;
     telig.LicenseNumber = tc.LicenseNumber;
     telig.PlaceOfExam = tc.PlaceOfExam;
     telig.Rating = tc.Rating;
     telig.TeacherId = tc.TeacherId;
 }
Exemple #2
0
 public void TranslateTeacherEligibilityToTeacherEligibilityBDO(TeacherEligibility te, TeacherEligibilityBDO tebdo)
 {
     tebdo.DateOfExam = te.DateOfExam;
     tebdo.Eligibility = te.Eligibility;
     tebdo.EligibilityId = te.EligibilityId;
     tebdo.IssueDate = te.IssueDate;
     tebdo.LicenseNumber = te.LicenseNumber;
     tebdo.PlaceOfExam = te.PlaceOfExam;
     tebdo.Rating = te.Rating;
     tebdo.TeacherId = te.TeacherId;
 }
Exemple #3
0
 public List<TeacherEligibilityBDO> ToEligibilityBDO(List<TeacherEligibility> te)
 {
     List<TeacherEligibilityBDO> teList = new List<TeacherEligibilityBDO>();
     foreach (TeacherEligibility t in te)
     {
         TeacherEligibilityBDO tedo = new TeacherEligibilityBDO();
         TranslateTeacherEligibilityToTeacherEligibilityBDO(t, tedo);
         teList.Add(tedo);
     }
     return teList;
 }
Exemple #4
0
 private List<TeacherEligibilityBDO> ToEligibilityBDOList(ICollection<TeacherEligibility> tcl)
 {
     List<TeacherEligibilityBDO> teList = new List<TeacherEligibilityBDO>();
     foreach (TeacherEligibility tc in tcl)
     {
         TeacherEligibilityBDO telig = new TeacherEligibilityBDO();
         ConvertTeacherEligibilityToTeacherEligibilityBDO(tc, telig);
         teList.Add(telig);
     }
     return teList;
 }
Exemple #5
0
 private void ConvertTeacherEligibilityBDOToTeacherEligibility(TeacherEligibilityBDO tc, TeacherEligibility telig)
 {
     telig.DateOfExam = tc.DateOfExam;
     telig.Eligibility = tc.Eligibility;
     telig.EligibilityId = tc.EligibilityId;
     telig.IssueDate = tc.IssueDate;
     telig.LicenseNumber = tc.LicenseNumber;
     telig.PlaceOfExam = tc.PlaceOfExam;
     telig.Rating = tc.Rating;
     telig.TeacherId = tc.TeacherId;
 }