/// <summary>
 /// Create a new Post object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="creationDate">Initial value of the CreationDate property.</param>
 /// <param name="lastModifiedDate">Initial value of the LastModifiedDate property.</param>
 /// <param name="subject">Initial value of the Subject property.</param>
 /// <param name="body">Initial value of the Body property.</param>
 /// <param name="commentsEnabled">Initial value of the CommentsEnabled property.</param>
 public static Post CreatePost(global::System.Int32 id, global::System.DateTime creationDate, global::System.DateTime lastModifiedDate, global::System.String subject, global::System.String body, global::System.Boolean commentsEnabled)
 {
     Post post = new Post();
     post.Id = id;
     post.CreationDate = creationDate;
     post.LastModifiedDate = lastModifiedDate;
     post.Subject = subject;
     post.Body = body;
     post.CommentsEnabled = commentsEnabled;
     return post;
 }
 /// <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);
 }