Пример #1
0
        private void AddSemestrNameCommand(object parameter)
        {
            DataClasses1DataContext context = new DataClasses1DataContext();
            var semestr = new Semestr
            {
                Semestr_Nazwa = _semestrName
            };
            context.Semestrs.InsertOnSubmit(semestr);
            context.SubmitChanges();

            Window frm = (Window)parameter;
            frm.Close();
        }
Пример #2
0
 partial void UpdateSemestr(Semestr instance);
Пример #3
0
 partial void DeleteSemestr(Semestr instance);
Пример #4
0
 partial void InsertSemestr(Semestr instance);