コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PostContents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPostContents(PostContent postContent)
 {
     base.AddObject("PostContents", postContent);
 }