/// <summary> /// Create a new PostContent object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="blogPostId">Initial value of the BlogPostId property.</param> /// <param name="postConent">Initial value of the PostConent property.</param> public static PostContent CreatePostContent(global::System.Int32 id, global::System.Int32 blogPostId, global::System.String postConent) { PostContent postContent = new PostContent(); postContent.Id = id; postContent.BlogPostId = blogPostId; postContent.PostConent = postConent; return postContent; }
/// <summary> /// Deprecated Method for adding a new object to the PostContents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPostContents(PostContent postContent) { base.AddObject("PostContents", postContent); }