/// <summary>
        /// Create a new WebCategories object.
        /// </summary>
        /// <param name="webCategoriesID">Initial value of the WebCategoriesID property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        public static WebCategories CreateWebCategories(global::System.Int32 webCategoriesID, global::System.String name)
        {
            WebCategories webCategories = new WebCategories();

            webCategories.WebCategoriesID = webCategoriesID;
            webCategories.Name            = name;
            return(webCategories);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the WebCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWebCategories(WebCategories webCategories)
 {
     base.AddObject("WebCategories", webCategories);
 }