public void Run_UpdateCourse7(int SId, int CId, TimeSpan StartTime, bool On) { using (var Reg = new RegistrationDBEntities()) { var UpdateCourse7 = Reg.UpdateCourse7ToSchedule(SId, CId, StartTime, On); } }
public void Test_AssignStudentSchedule() { using (var Reg = new RegistrationDBEntities()) { var AssignStudentSchedule = Reg.AssignStudentToSchedule(1, 1, true); } }
public void Test_DeleteProfessor() { using (var Reg = new RegistrationDBEntities()) { var RemoveProfessor = Reg.DeleteProfessor(6); } }
public void Test_AddCourse() { using (var Reg = new RegistrationDBEntities()) { var NewCourse = Reg.AddCourse("Test", 0, 0, "Test", 0, new TimeSpan(0, 0, 0), new TimeSpan(0, 0, 0), new TimeSpan(0, 0, 0)); } }
public void Test_AddStudentSchedule() { using (var Reg = new RegistrationDBEntities()) { var StudentSchedule = Reg.AddStudentSchedule(1); } }
public void Test_AddStudent() { using (var Reg = new RegistrationDBEntities()) { var NewStudent = Reg.AddStudent("Test", "Test", 0, "Test"); } }
public void Test_UpdateCourse7() { using (var Reg = new RegistrationDBEntities()) { var UpdateCourse7 = Reg.UpdateCourse7ToSchedule(1, 1, new TimeSpan(0, 0, 0), true); } }
public void Run_DeleteProfessor(int Id) { using (var Reg = new RegistrationDBEntities()) { var RemoveProfessor = Reg.DeleteProfessor(Id); } }
public void Run_DeleteStudent(int Id) { using (var Reg = new RegistrationDBEntities()) { var RemoveStudent = Reg.DeleteStudent(Id); } }
public void Run_AssignProfessorSchedule(int SId, int PId, bool On) { using (var Reg = new RegistrationDBEntities()) { var AssignProfessorSchedule = Reg.AssignProfessorToSchedule(SId, PId, On); } }
public void Run_AssignStudentSchedule(int SId, int StuId, bool On) { using (var Reg = new RegistrationDBEntities()) { var AssignStudentSchedule = Reg.AssignStudentToSchedule(SId, StuId, On); } }
public void Run_AddStudentSchedule(int Id) { using (var Reg = new RegistrationDBEntities()) { var StudentSchedule = Reg.AddStudentSchedule(Id); } }
public void Run_AddProfessorSchedule(int Id) { using (var Reg = new RegistrationDBEntities()) { var ProfessorSchedule = Reg.AddProfessorSchedule(Id); } }
public void Run_AddCourse(string Name, int Credits, int Cap, string Dept, int Duration, TimeSpan StartTime1, TimeSpan StartTime2, TimeSpan StartTime3) { using (var Reg = new RegistrationDBEntities()) { var NewCourse = Reg.AddCourse(Name, Credits, Cap, Dept, Duration, StartTime1, StartTime2, StartTime3); } }
public void Test_UpdateCourse() { using (var Reg = new RegistrationDBEntities()) { var UpdateCourse = Reg.UpdateCourse("Test", 4, 0, 0, "Test", 0, new TimeSpan(0, 0, 0), new TimeSpan(0, 0, 0), new TimeSpan(0, 0, 0), true); } }
public void Run_DeleteSchedule(int Id) { using (var Reg = new RegistrationDBEntities()) { var RemoveSchedule = Reg.DeleteSchedule(Id); } }
public void Test_UpdateProfessor() { using (var Reg = new RegistrationDBEntities()) { var UpdateProfessor = Reg.UpdateProfessor(1, "Test", "Test", "Test", 0, true); } }
public void Run_GetActiveInactiveCourses(bool On) { using (var Reg = new RegistrationDBEntities()) { var GetCourses = Reg.GetActiveInactiveCourses(On); } }
public void Test_UpdateStudent() { using (var Reg = new RegistrationDBEntities()) { var UpdateStudent = Reg.UpdateStudent(1, "Test", "Test", 0, "Test", true); } }
public void Test_DeleteSchedule() { using (var Reg = new RegistrationDBEntities()) { var RemoveSchedule = Reg.DeleteSchedule(5); } }
public void Test_AddProfessor() { using (var Reg = new RegistrationDBEntities()) { var NewProfessor = Reg.AddProfessors("Test", "Test", "Test"); } }
public void Test_GetActiveInactiveCourses() { using (var Reg = new RegistrationDBEntities()) { var GetCourses = Reg.GetActiveInactiveCourses(true); } }
public void Test_AddProfessorSchedule() { using (var Reg = new RegistrationDBEntities()) { var ProfessorSchedule = Reg.AddProfessorSchedule(1); } }
public void Test_GetAllActiveInactiveStudents() { using (var Reg = new RegistrationDBEntities()) { var GetStudents = Reg.GetAllActiveInactiveStudents(true); } }
public void Test_AssignProfessorSchedule() { using (var Reg = new RegistrationDBEntities()) { var AssignProfessorSchedule = Reg.AssignProfessorToSchedule(1, 1, true); } }
public void Test_GetAllActiveInactiveProfessors() { using (var Reg = new RegistrationDBEntities()) { var GetProfessors = Reg.GetAllActiveInactiveProfessors(true); } }
public void Test_DeleteCourse() { using (var Reg = new RegistrationDBEntities()) { var RemoveCourse = Reg.DeleteCourse(5); } }
public void Test_UpdateCapacity() { using (var Reg = new RegistrationDBEntities()) { var UpdateCourseCapacity = Reg.UpdateCapacity(5, 30); } }
public void Test_DeleteStudent() { using (var Reg = new RegistrationDBEntities()) { var RemoveStudent = Reg.DeleteStudent(1); } }
public void Run_AddProfessor(string Dept, string Name, string LName) { using (var Reg = new RegistrationDBEntities()) { var NewProfessor = Reg.AddProfessors(Dept, Name, LName); } }