/// <summary>
 /// Create a new Post object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="content">Initial value of the Content property.</param>
 /// <param name="dateCreated">Initial value of the DateCreated property.</param>
 public static Post CreatePost(global::System.Int32 id, global::System.Int32 userId, global::System.String title, global::System.String content, global::System.DateTime dateCreated)
 {
     Post post = new Post();
     post.Id = id;
     post.UserId = userId;
     post.Title = title;
     post.Content = content;
     post.DateCreated = dateCreated;
     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);
 }