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; }
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; }
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; }
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; }
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; }