Esempio n. 1
0
 public static void InsertBook(Book book)
 {
     DataClasses1DataContext dt = new DataClasses1DataContext();
     dt.Books.InsertOnSubmit(book);
     dt.SubmitChanges();
 }
 partial void UpdateBook(Book instance);
 partial void DeleteBook(Book instance);
 partial void InsertBook(Book instance);