//University should always exist before CourseRecords are accessed
 public List<CourseRecord> GetCourseRecordsByStudent(Student st)
 {
     List<CourseRecord> crs = new List<CourseRecord>();
     DataRow[] rows = _studentRecords.CRsAndSsToSs.Select("StudentID = '" + st.GetID() + "'");
     foreach (DataRow row in rows)
     {
         StudentRecordsDataSet.CRsAndSsToSsRow r = (StudentRecordsDataSet.CRsAndSsToSsRow) row;
         Section s = University.Instance.GetSectionByID(r.SectionID);
         CourseRecord rec = new CourseRecord(r.Grade, s, st);
         crs.Add(rec);
     }
     return crs;
 }
 public CourseRecord(String g, Section sect, Student stud)
 {
     grade = GetGradeEnum(g);
     section = sect;
     student = stud;
 }
 public void AddStudent(Student s)
 {
     students.Add(s);
 }
 //Session User should always exist before Student is created
 public Student GetStudentByUserID(short u_id)
 {
     DataRow[] rows = _studentRecords.Students.Select("UserID = '" + u_id + "'");
     StudentRecordsDataSet.StudentsRow r = (StudentRecordsDataSet.StudentsRow)rows[0];
     User u = GetUserByID(u_id);
     Student st = new Student(u, r.ID);
     List<CourseRecord> crs = GetCourseRecordsByStudent(st);
     st.GetTranscript().SetCourseRecords(crs);
     return st;
 }
 public void RemoveStudent(Student s)
 {
     students.Remove(s);
 }