private void buttonAddBookType_Click(object sender, EventArgs e)
        {
            BookType bookType = new BookType();

            bookType.Name        = textNameSurname.Text;
            bookType.Explanation = textExplanation.Text;
            context.BookTypes.InsertOnSubmit(bookType);
            context.SubmitChanges();

            gridBookTypeFill();
            textClear();
            MessageBox.Show("Kitap Türü Başarıyla Eklendi");
        }
Beispiel #2
0
 partial void DeleteBookType(BookType instance);
Beispiel #3
0
 partial void UpdateBookType(BookType instance);
Beispiel #4
0
 partial void InsertBookType(BookType instance);