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