Esempio n. 1
0
 public List<StudentSubject> GetClassGrades(string SubjectAssignments)
 {
     List<StudentSubject> greport1 = new List<StudentSubject>();
     List<StudentSubjectBDO> greportBdoList = new List<StudentSubjectBDO>();
     greportBdoList = gradeLogic.GetClassGradeReport(SubjectAssignments);
     foreach (StudentSubjectBDO ssb in greportBdoList)
     {
         StudentSubject ss = new StudentSubject();
         rs.TranslateStuSubjectsBDOToStuSubjects(ssb, ss);
         greport1.Add(ss);
     }
     return greport1;
 }
Esempio n. 2
0
 public List<StudentSubject> GetStudentEvaluation(string StudentId)
 {
     List<StudentSubject> eval = new List<StudentSubject>();
       List<StudentSubjectBDO> evalBdoList = new List<StudentSubjectBDO>();
     evalBdoList = gradeLogic.GetStudentEvaluation(StudentId);
     foreach (StudentSubjectBDO ssb in evalBdoList) {
         StudentSubject ss = new StudentSubject();
         rs.TranslateStuSubjectsBDOToStuSubjects(ssb, ss);
         eval.Add(ss);
     }
     return eval;
 }
Esempio n. 3
0
 public List<StudentSubject> GetClassList(string SubjectAssignments)
 {
     List<StudentSubject> classList = new List<StudentSubject>();
     List<StudentSubjectBDO> classBdoList = new List<StudentSubjectBDO>();
     classBdoList = gradeLogic.GetClassList(SubjectAssignments);
     foreach (StudentSubjectBDO ssb in classBdoList) {
         StudentSubject ss = new StudentSubject();
         rs.TranslateStuSubjectsBDOToStuSubjects(ssb, ss);
         classList.Add(ss);
     }
     return classList;
 }
Esempio n. 4
0
        public void TranslateStudentSubjectToStudentSubjectBDO(StudentSubject ss, StudentSubjectBDO ssbdo)
        {
            ssbdo.FirstEntered = ss.FirstEntered;
            ssbdo.FirstLocked = ss.FirstLocked;
            ssbdo.FirstPeriodicRating = ss.FirstPeriodicRating;
            ssbdo.FourthEntered = ss.FourthEntered;
            ssbdo.FourthLocked = ss.FourthLocked;
            ssbdo.FourthPeriodicRating = ss.FourthPeriodicRating;
            ssbdo.LockFirst = ss.LockFirst;
            ssbdo.LockFourth = ss.LockFourth;
            ssbdo.LockSecond = ss.LockSecond;
            ssbdo.LockThird = ss.LockThird;
            ssbdo.Remarks = ss.Remarks;
            ssbdo.SecondEntered = ss.SecondEntered;
            ssbdo.SecondLocked = ss.SecondLocked;
            ssbdo.SecondPeriodicRating = ss.SecondPeriodicRating;
            ssbdo.ThirdEntered = ss.ThirdEntered;
            ssbdo.ThirdLocked = ss.ThirdLocked;
            ssbdo.ThirdPeriodicRating = ss.ThirdPeriodicRating;
            ssbdo.StudentEnrSubCode = ss.StudentEnrSubCode;

            ssbdo.StudentEnrSubCode = ss.StudentEnrSubCode;
            ssbdo.StudentSubjectsID = ss.StudentSubjectsID;
            ssbdo.StudentSY = ss.StudentSY;
            ssbdo.SubjectAssignments = ss.SubjectAssignments;
            ssbdo.SubjectCode = ss.SubjectCode;
        }
Esempio n. 5
0
        public void TranslateStudentSubjectBDOToStudentSubject(StudentSubjectBDO ssbdo, StudentSubject ss)
        {
            SubjectService s = new SubjectService();
            Subject sub = new Subject();
            s.TranslateSubjectBDOToSubject(ssbdo.Subject, sub);

            RegistrationService r = new RegistrationService();
            StudentEnrollment se = new StudentEnrollment();
            r.TranslatEnrolBDOToEnrol(ssbdo.StudentEnrollment, se);
            ss.StudentEnr = se;

            ss.Description = sub.Description;
            ss.FirstPeriodicRating = ssbdo.FirstPeriodicRating;
            ss.SecondPeriodicRating = ssbdo.SecondPeriodicRating;
            ss.ThirdPeriodicRating = ssbdo.ThirdPeriodicRating;
            ss.FourthPeriodicRating = ssbdo.FourthPeriodicRating;

            ss.FirstEntered = ssbdo.FirstEntered;
            ss.SecondEntered = ssbdo.SecondEntered;
            ss.ThirdEntered = ssbdo.ThirdEntered;
            ss.FourthEntered = ssbdo.FourthEntered;

            ss.LockFirst =(bool) ssbdo.LockFirst;
            ss.LockFourth = (bool)ssbdo.LockFourth;
            ss.LockSecond = (bool)ssbdo.LockSecond;
            ss.LockThird = (bool)ssbdo.LockThird;

            ss.FirstLocked = ssbdo.FirstLocked;
            ss.SecondLocked = ssbdo.SecondLocked;
            ss.ThirdLocked = ssbdo.ThirdLocked;
            ss.FourthLocked = ssbdo.FourthLocked;

            ss.Remarks = ssbdo.Remarks;

            ss.StudentEnrSubCode = ssbdo.StudentEnrSubCode;

            ss.StudentEnrSubCode = ssbdo.StudentEnrSubCode;
            ss.StudentSubjectsID = ssbdo.StudentSubjectsID;
            ss.StudentSY = ssbdo.StudentSY;
            ss.SubjectCode= ssbdo.SubjectCode;

            ss.StudentId = se.StudentId;
            ss.StudentName = se.StudentName;
        }