/// <summary> /// Create a new TopicsSet object. /// </summary> /// <param name="topicId">Initial value of the TopicId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="topicText">Initial value of the TopicText property.</param> /// <param name="topicDate">Initial value of the TopicDate property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> /// <param name="user_UserId">Initial value of the User_UserId property.</param> /// <param name="messages_MessageId">Initial value of the Messages_MessageId property.</param> public static TopicsSet CreateTopicsSet(global::System.Int32 topicId, global::System.Int32 userId, global::System.String topicText, global::System.DateTime topicDate, global::System.Byte isActive, global::System.Int32 user_UserId, global::System.Int32 messages_MessageId) { TopicsSet topicsSet = new TopicsSet(); topicsSet.TopicId = topicId; topicsSet.UserId = userId; topicsSet.TopicText = topicText; topicsSet.TopicDate = topicDate; topicsSet.IsActive = isActive; topicsSet.User_UserId = user_UserId; topicsSet.Messages_MessageId = messages_MessageId; return topicsSet; }
/// <summary> /// Deprecated Method for adding a new object to the TopicsSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTopicsSet(TopicsSet topicsSet) { base.AddObject("TopicsSet", topicsSet); }