/// <summary>
 /// Deprecated Method for adding a new object to the ArticleCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToArticleCategories(ArticleCategory articleCategory)
 {
     base.AddObject("ArticleCategories", articleCategory);
 }
 /// <summary>
 /// Create a new ArticleCategory object.
 /// </summary>
 /// <param name="categoryId">Initial value of the CategoryId property.</param>
 /// <param name="categoryCode">Initial value of the CategoryCode property.</param>
 public static ArticleCategory CreateArticleCategory(global::System.Int32 categoryId, global::System.String categoryCode)
 {
     ArticleCategory articleCategory = new ArticleCategory();
     articleCategory.CategoryId = categoryId;
     articleCategory.CategoryCode = categoryCode;
     return articleCategory;
 }