/// <summary> /// Deprecated Method for adding a new object to the ForumPosts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToForumPosts(ForumPosts forumPosts) { base.AddObject("ForumPosts", forumPosts); }
/// <summary> /// Create a new ForumPosts object. /// </summary> /// <param name="postID">Initial value of the PostID property.</param> /// <param name="threadID">Initial value of the ThreadID property.</param> /// <param name="threadSequence">Initial value of the ThreadSequence property.</param> /// <param name="subject">Initial value of the Subject property.</param> /// <param name="postDate">Initial value of the PostDate property.</param> /// <param name="approved">Initial value of the Approved property.</param> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="sortOrder">Initial value of the SortOrder property.</param> /// <param name="post">Initial value of the Post property.</param> public static ForumPosts CreateForumPosts(global::System.Int32 postID, global::System.Int32 threadID, global::System.Int32 threadSequence, global::System.String subject, global::System.DateTime postDate, global::System.Boolean approved, global::System.Int32 userID, global::System.Int32 sortOrder, global::System.String post) { ForumPosts forumPosts = new ForumPosts(); forumPosts.PostID = postID; forumPosts.ThreadID = threadID; forumPosts.ThreadSequence = threadSequence; forumPosts.Subject = subject; forumPosts.PostDate = postDate; forumPosts.Approved = approved; forumPosts.UserID = userID; forumPosts.SortOrder = sortOrder; forumPosts.Post = post; return forumPosts; }