private void detach_BooksWrittens(BooksWritten entity)
 {
     this.SendPropertyChanging();
     entity.Book = null;
 }
 private void attach_BooksWrittens(BooksWritten entity)
 {
     this.SendPropertyChanging();
     entity.Book = this;
 }
 partial void UpdateBooksWritten(BooksWritten instance);
 partial void DeleteBooksWritten(BooksWritten instance);
 partial void InsertBooksWritten(BooksWritten instance);