/// <summary>
 /// Deprecated Method for adding a new object to the ProductCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductCategories(ProductCategory productCategory)
 {
     base.AddObject("ProductCategories", productCategory);
 }
 /// <summary>
 /// Create a new ProductCategory object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="categoryId">Initial value of the CategoryId property.</param>
 public static ProductCategory CreateProductCategory(global::System.Int32 id, global::System.Int32 categoryId)
 {
     ProductCategory productCategory = new ProductCategory();
     productCategory.Id = id;
     productCategory.CategoryId = categoryId;
     return productCategory;
 }