Пример #1
0
 public void ConvertSubjectToSubjectBDO(Subject s, SubjectBDO sbdo)
 {
     LearningAreaDAO ldao = new LearningAreaDAO();
     LearningAreaBDO la = new LearningAreaBDO();
     sbdo.Description = s.Description;
     sbdo.GradeLevel = s.GradeLevel;
     sbdo.LearningAreaCode = s.LearningAreaCode;
     sbdo.SubjectCode = s.SubjectCode;
     sbdo.SubjectID = s.SubjectID;
     //  ldao.ConvertLearningAreaToLearningAreaBDO(s.LearningArea, la);
     sbdo.LearningArea = la;
 }
Пример #2
0
        public void ConvertSubjectToSubjectBDO(Subject s, SubjectBDO sbdo)
        {
            LearningAreaDAO ldao = new LearningAreaDAO();
            LearningAreaBDO la   = new LearningAreaBDO();

            sbdo.Description      = s.Description;
            sbdo.GradeLevel       = s.GradeLevel;
            sbdo.LearningAreaCode = s.LearningAreaCode;
            sbdo.SubjectCode      = s.SubjectCode;
            sbdo.SubjectID        = s.SubjectID;
            //  ldao.ConvertLearningAreaToLearningAreaBDO(s.LearningArea, la);
            sbdo.LearningArea = la;
        }