/// <summary> /// Deprecated Method for adding a new object to the forum_topic EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToforum_topic(forum_topic forum_topic) { base.AddObject("forum_topic", forum_topic); }
/// <summary> /// Create a new forum_topic object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="forumid">Initial value of the forumid property.</param> /// <param name="userid">Initial value of the userid property.</param> /// <param name="sticky">Initial value of the sticky property.</param> /// <param name="announcement">Initial value of the announcement property.</param> /// <param name="title">Initial value of the title property.</param> /// <param name="added">Initial value of the added property.</param> public static forum_topic Createforum_topic(global::System.Int64 id, global::System.Int64 forumid, global::System.Int64 userid, global::System.Int64 sticky, global::System.Int64 announcement, global::System.String title, global::System.Int32 added) { forum_topic forum_topic = new forum_topic(); forum_topic.id = id; forum_topic.forumid = forumid; forum_topic.userid = userid; forum_topic.sticky = sticky; forum_topic.announcement = announcement; forum_topic.title = title; forum_topic.added = added; return forum_topic; }