/// <summary> /// Deprecated Method for adding a new object to the GroupTopics EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGroupTopics(GroupTopics groupTopics) { base.AddObject("GroupTopics", groupTopics); }
/// <summary> /// Create a new GroupTopics object. /// </summary> /// <param name="gt_id">Initial value of the gt_id property.</param> /// <param name="g_id">Initial value of the g_id property.</param> /// <param name="gt_name">Initial value of the gt_name property.</param> /// <param name="gt_datecreated">Initial value of the gt_datecreated property.</param> /// <param name="gt_dateupdated">Initial value of the gt_dateupdated property.</param> /// <param name="u_username">Initial value of the u_username property.</param> /// <param name="gt_posts">Initial value of the gt_posts property.</param> /// <param name="gt_locked">Initial value of the gt_locked property.</param> /// <param name="gt_poll">Initial value of the gt_poll property.</param> /// <param name="gt_views">Initial value of the gt_views property.</param> public static GroupTopics CreateGroupTopics(global::System.Int32 gt_id, global::System.Int32 g_id, global::System.String gt_name, global::System.DateTime gt_datecreated, global::System.DateTime gt_dateupdated, global::System.String u_username, global::System.Int32 gt_posts, global::System.Boolean gt_locked, global::System.Boolean gt_poll, global::System.Int32 gt_views) { GroupTopics groupTopics = new GroupTopics(); groupTopics.gt_id = gt_id; groupTopics.g_id = g_id; groupTopics.gt_name = gt_name; groupTopics.gt_datecreated = gt_datecreated; groupTopics.gt_dateupdated = gt_dateupdated; groupTopics.u_username = u_username; groupTopics.gt_posts = gt_posts; groupTopics.gt_locked = gt_locked; groupTopics.gt_poll = gt_poll; groupTopics.gt_views = gt_views; return groupTopics; }