Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ArticleComments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToArticleComments(ArticleComment articleComment)
 {
     base.AddObject("ArticleComments", articleComment);
 }
Example #2
0
 /// <summary>
 /// Create a new ArticleComment object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="articleID">Initial value of the ArticleID property.</param>
 /// <param name="authorUserID">Initial value of the AuthorUserID property.</param>
 /// <param name="body">Initial value of the Body property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="frozen">Initial value of the Frozen property.</param>
 /// <param name="hidden">Initial value of the Hidden property.</param>
 public static ArticleComment CreateArticleComment(global::System.Int64 id, global::System.Int64 articleID, global::System.Int64 authorUserID, global::System.String body, global::System.DateTime createDate, global::System.Boolean frozen, global::System.Boolean hidden)
 {
     ArticleComment articleComment = new ArticleComment();
     articleComment.ID = id;
     articleComment.ArticleID = articleID;
     articleComment.AuthorUserID = authorUserID;
     articleComment.Body = body;
     articleComment.CreateDate = createDate;
     articleComment.Frozen = frozen;
     articleComment.Hidden = hidden;
     return articleComment;
 }