示例#1
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_UpdateCourse(string Name, int Id, int CredHrs, int Cap, string Dept, int Duration, TimeSpan Class1, TimeSpan Class2, TimeSpan Class3, bool On)
 {
     using (var Reg = new RegistrationDBEntities())
     {
         var UpdateCourse = Reg.UpdateCourse(Name, Id, CredHrs, Cap, Dept, Duration, Class1, Class2, Class3, On);
     }
 }