/// <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);
 }
 /// <summary>
 /// Create a new subcategory object.
 /// </summary>
 /// <param name="subcatid">Initial value of the subcatid property.</param>
 /// <param name="catid">Initial value of the catid property.</param>
 /// <param name="uid">Initial value of the uid property.</param>
 public static subcategory Createsubcategory(global::System.Int32 subcatid, global::System.Int32 catid, global::System.Int32 uid)
 {
     subcategory subcategory = new subcategory();
     subcategory.subcatid = subcatid;
     subcategory.catid = catid;
     subcategory.uid = uid;
     return subcategory;
 }