/// <summary> /// Deprecated Method for adding a new object to the ForumThreads EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToForumThreads(ForumThreads forumThreads) { base.AddObject("ForumThreads", forumThreads); }
/// <summary> /// Create a new ForumThreads object. /// </summary> /// <param name="threadID">Initial value of the ThreadID property.</param> /// <param name="forumID">Initial value of the ForumID property.</param> /// <param name="threadSubject">Initial value of the ThreadSubject property.</param> /// <param name="threadDate">Initial value of the ThreadDate property.</param> /// <param name="totalViews">Initial value of the TotalViews property.</param> /// <param name="totalReplies">Initial value of the TotalReplies property.</param> /// <param name="sortOrder">Initial value of the SortOrder property.</param> /// <param name="isLocked">Initial value of the IsLocked property.</param> /// <param name="forumSequence">Initial value of the ForumSequence property.</param> /// <param name="startedByUserID">Initial value of the StartedByUserID property.</param> public static ForumThreads CreateForumThreads(global::System.Int32 threadID, global::System.Int32 forumID, global::System.String threadSubject, global::System.DateTime threadDate, global::System.Int32 totalViews, global::System.Int32 totalReplies, global::System.Int32 sortOrder, global::System.Boolean isLocked, global::System.Int32 forumSequence, global::System.Int32 startedByUserID) { ForumThreads forumThreads = new ForumThreads(); forumThreads.ThreadID = threadID; forumThreads.ForumID = forumID; forumThreads.ThreadSubject = threadSubject; forumThreads.ThreadDate = threadDate; forumThreads.TotalViews = totalViews; forumThreads.TotalReplies = totalReplies; forumThreads.SortOrder = sortOrder; forumThreads.IsLocked = isLocked; forumThreads.ForumSequence = forumSequence; forumThreads.StartedByUserID = startedByUserID; return forumThreads; }