示例#1
0
 /// <summary>
 /// Create a new BlogReply object.
 /// </summary>
 /// <param name="blogReplyId">Initial value of the BlogReplyId property.</param>
 /// <param name="blogPostId">Initial value of the BlogPostId property.</param>
 /// <param name="replyBy">Initial value of the ReplyBy property.</param>
 /// <param name="blogReplyText">Initial value of the BlogReplyText property.</param>
 public static BlogReply CreateBlogReply(global::System.Int32 blogReplyId, global::System.Int32 blogPostId, global::System.String replyBy, global::System.String blogReplyText)
 {
     BlogReply blogReply = new BlogReply();
     blogReply.BlogReplyId = blogReplyId;
     blogReply.BlogPostId = blogPostId;
     blogReply.ReplyBy = replyBy;
     blogReply.BlogReplyText = blogReplyText;
     return blogReply;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the BlogReplies EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBlogReplies(BlogReply blogReply)
 {
     base.AddObject("BlogReplies", blogReply);
 }