/// <summary>
 /// Deprecated Method for adding a new object to the Posts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPosts(Post post)
 {
     base.AddObject("Posts", post);
 }
 /// <summary>
 /// Create a new Post object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="text">Initial value of the Text property.</param>
 /// <param name="creationDate">Initial value of the CreationDate property.</param>
 /// <param name="lastChangeDate">Initial value of the LastChangeDate property.</param>
 public static Post CreatePost(global::System.Int32 id, global::System.String text, global::System.DateTime creationDate, global::System.DateTime lastChangeDate)
 {
     Post post = new Post();
     post.Id = id;
     post.Text = text;
     post.CreationDate = creationDate;
     post.LastChangeDate = lastChangeDate;
     return post;
 }