/// <summary> /// Deprecated Method for adding a new object to the BlogPost EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBlogPost(BlogPost blogPost) { base.AddObject("BlogPost", blogPost); }
/// <summary> /// Create a new BlogPost object. /// </summary> /// <param name="blogPostID">Initial value of the BlogPostID property.</param> public static BlogPost CreateBlogPost(global::System.Int32 blogPostID) { BlogPost blogPost = new BlogPost(); blogPost.BlogPostID = blogPostID; return blogPost; }