Esempio n. 1
0
        //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();
            }
        }
Esempio n. 2
0
 partial void Updatesubject_t(subject_t instance);
Esempio n. 3
0
 partial void Deletesubject_t(subject_t instance);
Esempio n. 4
0
 partial void Insertsubject_t(subject_t instance);