/// <summary>
 /// Create a new SubCategory object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static SubCategory CreateSubCategory(global::System.Int32 id)
 {
     SubCategory subCategory = new SubCategory();
     subCategory.ID = id;
     return subCategory;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the SubCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSubCategories(SubCategory subCategory)
 {
     base.AddObject("SubCategories", subCategory);
 }