private void detach_Books(Books entity)
 {
     this.SendPropertyChanging();
     entity.Categories = null;
 }
 private void attach_Books(Books entity)
 {
     this.SendPropertyChanging();
     entity.Categories = this;
 }
 partial void UpdateBooks(Books instance);
 partial void DeleteBooks(Books instance);
 partial void InsertBooks(Books instance);