//public static void AddStudent(object student) //{ // throw new NotImplementedException(); //} #endregion #region Class public static void AddClass(subject_t subject_T) { using (SchoolDataDataContext data = new SchoolDataDataContext()) { data.subject_ts.InsertOnSubmit(subject_T); data.SubmitChanges(); } }
partial void Updatesubject_t(subject_t instance);
partial void Deletesubject_t(subject_t instance);
partial void Insertsubject_t(subject_t instance);