/// <summary> /// Deprecated Method for adding a new object to the tTopicPosts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotTopicPosts(tTopicPost tTopicPost) { base.AddObject("tTopicPosts", tTopicPost); }
/// <summary> /// Create a new tTopicPost object. /// </summary> /// <param name="topicPostID">Initial value of the topicPostID property.</param> /// <param name="topicDate">Initial value of the topicDate property.</param> /// <param name="userID">Initial value of the userID property.</param> /// <param name="topicTitle">Initial value of the topicTitle property.</param> /// <param name="topicPost">Initial value of the topicPost property.</param> public static tTopicPost CreatetTopicPost(global::System.Int32 topicPostID, global::System.DateTime topicDate, global::System.Int32 userID, global::System.String topicTitle, global::System.String topicPost) { tTopicPost tTopicPost = new tTopicPost(); tTopicPost.topicPostID = topicPostID; tTopicPost.topicDate = topicDate; tTopicPost.userID = userID; tTopicPost.topicTitle = topicTitle; tTopicPost.topicPost = topicPost; return tTopicPost; }