/// <summary> /// Create a new PostCategory object. /// </summary> /// <param name="postCategoryId">Initial value of the PostCategoryId property.</param> public static PostCategory CreatePostCategory(global::System.Int32 postCategoryId) { PostCategory postCategory = new PostCategory(); postCategory.PostCategoryId = postCategoryId; return postCategory; }
/// <summary> /// Deprecated Method for adding a new object to the PostCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPostCategories(PostCategory postCategory) { base.AddObject("PostCategories", postCategory); }