/// <summary>
 /// Deprecated Method for adding a new object to the ItemCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToItemCategories(ItemCategory itemCategory)
 {
     base.AddObject("ItemCategories", itemCategory);
 }
 /// <summary>
 /// Create a new ItemCategory object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="statusId">Initial value of the StatusId property.</param>
 /// <param name="languageDescriptorId">Initial value of the LanguageDescriptorId property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 public static ItemCategory CreateItemCategory(global::System.Int32 id, global::System.Int32 statusId, global::System.Int32 languageDescriptorId, global::System.String code, global::System.DateTime created)
 {
     ItemCategory itemCategory = new ItemCategory();
     itemCategory.Id = id;
     itemCategory.StatusId = statusId;
     itemCategory.LanguageDescriptorId = languageDescriptorId;
     itemCategory.Code = code;
     itemCategory.Created = created;
     return itemCategory;
 }