Example #1
0
 public static void AssignTimeTable(schedule sch)
 {
     using (ASMDataContext context = new ASMDataContext())
     {
         context.schedules.InsertOnSubmit(sch);
         context.SubmitChanges();
     }
 }
 partial void Updateschedule(schedule instance);
 partial void Deleteschedule(schedule instance);
 partial void Insertschedule(schedule instance);