/// <summary> /// Create a new MessagesSet object. /// </summary> /// <param name="messageId">Initial value of the MessageId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="topicId">Initial value of the TopicId property.</param> /// <param name="message">Initial value of the Message property.</param> /// <param name="messageDate">Initial value of the MessageDate property.</param> /// <param name="isChanged">Initial value of the IsChanged property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> /// <param name="user_UserId">Initial value of the User_UserId property.</param> public static MessagesSet CreateMessagesSet(global::System.Int32 messageId, global::System.Int32 userId, global::System.Int32 topicId, global::System.String message, global::System.DateTime messageDate, global::System.Byte isChanged, global::System.Byte isActive, global::System.Int32 user_UserId) { MessagesSet messagesSet = new MessagesSet(); messagesSet.MessageId = messageId; messagesSet.UserId = userId; messagesSet.TopicId = topicId; messagesSet.Message = message; messagesSet.MessageDate = messageDate; messagesSet.IsChanged = isChanged; messagesSet.IsActive = isActive; messagesSet.User_UserId = user_UserId; return messagesSet; }
/// <summary> /// Deprecated Method for adding a new object to the MessagesSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMessagesSet(MessagesSet messagesSet) { base.AddObject("MessagesSet", messagesSet); }