/// <summary> /// Deprecated Method for adding a new object to the posts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToposts(post post) { base.AddObject("posts", post); }
/// <summary> /// Create a new post object. /// </summary> /// <param name="post_id">Initial value of the post_id property.</param> /// <param name="author">Initial value of the author property.</param> /// <param name="title">Initial value of the title property.</param> /// <param name="content">Initial value of the content property.</param> /// <param name="created">Initial value of the created property.</param> public static post Createpost(global::System.Int32 post_id, global::System.String author, global::System.String title, global::System.String content, global::System.DateTime created) { post post = new post(); post.post_id = post_id; post.author = author; post.title = title; post.content = content; post.created = created; return post; }