コード例 #1
0
ファイル: TeacherService.cs プロジェクト: RazenRyne/DCFIv4
 public void TranslateTrainingSeminarToTrainingSeminarBDO(TrainingSeminar tc, TrainingSeminarBDO tcbdo)
 {
     tcbdo.AreaOfTraining = tc.AreaOfTraining;
     tcbdo.ConductedBy    = tc.ConductedBy;
     tcbdo.DateFrom       = tc.DateFrom;
     tcbdo.DateTo         = tc.DateTo;
     tcbdo.NoOfHours      = tc.NoOfHours;
     tcbdo.TeacherId      = tc.TeacherId;
     tcbdo.Title          = tc.Title;
     tcbdo.TSID           = tc.TSID;
 }
コード例 #2
0
ファイル: TeacherService.cs プロジェクト: RazenRyne/DCFIv4
        public List <TrainingSeminar> ToTrainSemDTO(List <TrainingSeminarBDO> teb)
        {
            List <TrainingSeminar> tebdoList = new List <TrainingSeminar>();

            foreach (TrainingSeminarBDO t in teb)
            {
                TrainingSeminar tebdo = new TrainingSeminar();
                TranslateTrainingSeminarBDOToTrainingSeminarDTO(t, tebdo);
                tebdoList.Add(tebdo);
            }
            return(tebdoList);
        }
コード例 #3
0
ファイル: TeacherService.cs プロジェクト: dansalan/DCFIv5
 public void TranslateTrainingSeminarToTrainingSeminarBDO(TrainingSeminar tc, TrainingSeminarBDO tcbdo)
 {
     tcbdo.AreaOfTraining = tc.AreaOfTraining;
     tcbdo.ConductedBy = tc.ConductedBy;
     tcbdo.DateFrom = tc.DateFrom;
     tcbdo.DateTo= tc.DateTo;
     tcbdo.NoOfHours = tc.NoOfHours;
     tcbdo.TeacherId = tc.TeacherId;
     tcbdo.Title = tc.Title;
     tcbdo.TSID = tc.TSID;
 }
コード例 #4
0
ファイル: TeacherService.cs プロジェクト: dansalan/DCFIv5
 public List<TrainingSeminar> ToTrainSemDTO(List<TrainingSeminarBDO> teb)
 {
     List<TrainingSeminar> tebdoList = new List<TrainingSeminar>();
     foreach (TrainingSeminarBDO t in teb)
     {
         TrainingSeminar tebdo = new TrainingSeminar();
         TranslateTrainingSeminarBDOToTrainingSeminarDTO(t, tebdo);
         tebdoList.Add(tebdo);
     }
     return tebdoList;
 }