Exemple #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();
            }
        }
Exemple #2
0
 partial void Updatesubject_t(subject_t instance);
Exemple #3
0
 partial void Deletesubject_t(subject_t instance);
Exemple #4
0
 partial void Insertsubject_t(subject_t instance);