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);
     }
 }
Ejemplo n.º 2
0
 public void Test_AssignStudentSchedule()
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var AssignStudentSchedule = Reg.AssignStudentToSchedule(1, 1, true);
     }
 }
Ejemplo n.º 3
0
 public void Test_DeleteProfessor()
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var RemoveProfessor = Reg.DeleteProfessor(6);
     }
 }
Ejemplo n.º 4
0
 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));
     }
 }
Ejemplo n.º 5
0
 public void Test_AddStudentSchedule()
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var StudentSchedule = Reg.AddStudentSchedule(1);
     }
 }
Ejemplo n.º 6
0
 public void Test_AddStudent()
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var NewStudent = Reg.AddStudent("Test", "Test", 0, "Test");
     }
 }
Ejemplo n.º 7
0
 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);
     }
 }
Ejemplo n.º 15
0
 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);
     }
 }
Ejemplo n.º 17
0
 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);
     }
 }
Ejemplo n.º 19
0
 public void Test_UpdateStudent()
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var UpdateStudent = Reg.UpdateStudent(1, "Test", "Test", 0, "Test", true);
     }
 }
Ejemplo n.º 20
0
 public void Test_DeleteSchedule()
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var RemoveSchedule = Reg.DeleteSchedule(5);
     }
 }
Ejemplo n.º 21
0
 public void Test_AddProfessor()
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var NewProfessor = Reg.AddProfessors("Test", "Test", "Test");
     }
 }
Ejemplo n.º 22
0
 public void Test_GetActiveInactiveCourses()
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var GetCourses = Reg.GetActiveInactiveCourses(true);
     }
 }
Ejemplo n.º 23
0
 public void Test_AddProfessorSchedule()
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var ProfessorSchedule = Reg.AddProfessorSchedule(1);
     }
 }
Ejemplo n.º 24
0
 public void Test_GetAllActiveInactiveStudents()
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var GetStudents = Reg.GetAllActiveInactiveStudents(true);
     }
 }
Ejemplo n.º 25
0
 public void Test_AssignProfessorSchedule()
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var AssignProfessorSchedule = Reg.AssignProfessorToSchedule(1, 1, true);
     }
 }
Ejemplo n.º 26
0
 public void Test_GetAllActiveInactiveProfessors()
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var GetProfessors = Reg.GetAllActiveInactiveProfessors(true);
     }
 }
Ejemplo n.º 27
0
 public void Test_DeleteCourse()
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var RemoveCourse = Reg.DeleteCourse(5);
     }
 }
Ejemplo n.º 28
0
 public void Test_UpdateCapacity()
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var UpdateCourseCapacity = Reg.UpdateCapacity(5, 30);
     }
 }
Ejemplo n.º 29
0
 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);
     }
 }