public CourseRecord(String g, Section sect, Student stud) { grade = GetGradeEnum(g); section = sect; student = stud; }
public bool CheckWithdrawalDeadline(Section s) { return true; }
public List<Section> GetSections(Course c) { List<Section> sections = new List<Section>(); DataRowCollection rows = _studentRecords.Sections.Rows; foreach (DataRow r in rows) { StudentRecordsDataSet.SectionsRow row = (StudentRecordsDataSet.SectionsRow)r; if (row.CourseID == c.GetID()) { Semester semTemp = University.Instance.GetSemesterByID(row.SemesterID); Section s = new Section(row.ID, row.Number, c, semTemp); List<User> instrs = new List<User>(); short uID = GetUserIDbyEmployeeID(row.Instructor1_EmployeeID); User u = GetUserByID(uID); instrs.Add(u); s.SetInstructors(instrs); if (row.TA_EmployeeID != -1) { short uID2 = GetUserIDbyEmployeeID(row.TA_EmployeeID); User u2 = GetUserByID(uID2); s.setTA(u2); } s.SetGeoSpatialData(row.Building, row.RoomNumber, row.DaysOfWeek, row.TimeOfDay); sections.Add(s); } } return sections; }
public bool CheckRegistrationDeadline(Section s) { return true; }
public bool CheckDropDeadline(Section s) { return true; }
public bool CheckCoAndPreRequisites(Section s) { return true; }
public void DropSection(Section s) { }
public void AddSection(Section s) { }