Exemplo n.º 1
0
 public void TranslateWorkExperienceToWorkExperienceBDO(WorkExperience tc, WorkExperienceBDO tcbdo)
 {
     tcbdo.CompanyName = tc.CompanyName;
     tcbdo.MonthlySalary = tc.MonthlySalary;
     tcbdo.Position= tc.Position;
     tcbdo.StatusOfEmployment = tc.StatusOfEmployment;
     tcbdo.TeacherId = tc.TeacherId;
     tcbdo.WEId = tc.WEId;
     tcbdo.WorkExpFrom = tc.WorkExpFrom;
     tcbdo.WorkExpTo = tc.WorkExpTo;
 }
Exemplo n.º 2
0
 public void ConvertWorkExperienceToWorkExperienceBDO(WorkExperience web, WorkExperienceBDO we)
 {
     we.CompanyName = web.CompanyName;
     we.MonthlySalary = web.MonthlySalary;
     we.Position = web.Position;
     we.StatusOfEmployment = web.StatusOfEmployment;
     we.TeacherId = web.TeacherId;
     we.WEId = web.WEId;
     we.WorkExpFrom = web.WorkExpFrom;
     we.WorkExpTo = web.WorkExpTo;
 }
Exemplo n.º 3
0
 public List<WorkExperienceBDO> ToWorkExpBDO(List<WorkExperience> teb)
 {
     List<WorkExperienceBDO> tebdoList = new List<WorkExperienceBDO>();
     foreach (WorkExperience t in teb)
     {
         WorkExperienceBDO tebdo = new WorkExperienceBDO();
         TranslateWorkExperienceToWorkExperienceBDO(t, tebdo);
         tebdoList.Add(tebdo);
     }
     return tebdoList;
 }
Exemplo n.º 4
0
 private List<WorkExperienceBDO> ToWorkExperienceBDOList(ICollection<WorkExperience> tcl)
 {
     List<WorkExperienceBDO> weList = new List<WorkExperienceBDO>();
     foreach (WorkExperience web in tcl)
     {
         WorkExperienceBDO we = new WorkExperienceBDO();
         ConvertWorkExperienceToWorkExperienceBDO(web, we);
         weList.Add(we);
     }
     return weList;
 }