示例#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;
 }
示例#2
0
        public List <WorkExperience> ToWorkExpDTO(List <WorkExperienceBDO> teb)
        {
            List <WorkExperience> tebdoList = new List <WorkExperience>();

            foreach (WorkExperienceBDO t in teb)
            {
                WorkExperience tebdo = new WorkExperience();
                TranslateWorkExperienceBDOToWorkExperienceDTO(t, tebdo);
                tebdoList.Add(tebdo);
            }
            return(tebdoList);
        }
示例#3
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;
 }
示例#4
0
 public List<WorkExperience> ToWorkExpDTO(List<WorkExperienceBDO> teb)
 {
     List<WorkExperience> tebdoList = new List<WorkExperience>();
     foreach (WorkExperienceBDO t in teb)
     {
         WorkExperience tebdo = new WorkExperience();
         TranslateWorkExperienceBDOToWorkExperienceDTO(t, tebdo);
         tebdoList.Add(tebdo);
     }
     return tebdoList;
 }