/// <summary>
 /// Deprecated Method for adding a new object to the comments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocomments(comment comment)
 {
     base.AddObject("comments", comment);
 }
 /// <summary>
 /// Create a new comment object.
 /// </summary>
 /// <param name="commid">Initial value of the commid property.</param>
 /// <param name="threadid">Initial value of the threadid property.</param>
 public static comment Createcomment(global::System.Int32 commid, global::System.Int32 threadid)
 {
     comment comment = new comment();
     comment.commid = commid;
     comment.threadid = threadid;
     return comment;
 }