Exemplo n.º 1
0
 public void Add(Author author)
 {
     db.Authors.InsertOnSubmit(author);
     db.SubmitChanges();
 }
 public void Add(Editorial editorial)
 {
     db.Editorials.InsertOnSubmit(editorial);
     db.SubmitChanges();
 }
 public void Add(Book book)
 {
     db.Books.InsertOnSubmit(book);
     db.SubmitChanges();
 }
Exemplo n.º 4
0
 public void Add(Genre genre)
 {
     db.Genres.InsertOnSubmit(genre);
     db.SubmitChanges();
 }