/// <summary> /// Deprecated Method for adding a new object to the BlogCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBlogCategories(BlogCategory blogCategory) { base.AddObject("BlogCategories", blogCategory); }
/// <summary> /// Create a new BlogCategory object. /// </summary> /// <param name="blogCategoryID">Initial value of the BlogCategoryID property.</param> /// <param name="blogCategoryName">Initial value of the BlogCategoryName property.</param> public static BlogCategory CreateBlogCategory(global::System.Int32 blogCategoryID, global::System.String blogCategoryName) { BlogCategory blogCategory = new BlogCategory(); blogCategory.BlogCategoryID = blogCategoryID; blogCategory.BlogCategoryName = blogCategoryName; return blogCategory; }