/// <summary>
 /// Create a new comments object.
 /// </summary>
 /// <param name="id_comment">Initial value of the id_comment property.</param>
 /// <param name="id_message">Initial value of the id_message property.</param>
 /// <param name="id_user">Initial value of the id_user property.</param>
 /// <param name="date_post">Initial value of the date_post property.</param>
 public static comments Createcomments(global::System.Int32 id_comment, global::System.Int32 id_message, global::System.Int32 id_user, global::System.DateTime date_post)
 {
     comments comments = new comments();
     comments.id_comment = id_comment;
     comments.id_message = id_message;
     comments.id_user = id_user;
     comments.date_post = date_post;
     return comments;
 }
 /// <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(comments comments)
 {
     base.AddObject("comments", comments);
 }