partial void DeleteProductSubcategory(ProductSubcategory instance);
 partial void InsertProductSubcategory(ProductSubcategory instance);
 partial void UpdateProductSubcategory(ProductSubcategory instance);
 private void detach_ProductSubcategories(ProductSubcategory entity)
 {
     this.SendPropertyChanging();
     entity.ProductCategory = null;
 }