/// <summary> /// Create a new Messages object. /// </summary> /// <param name="messageId">Initial value of the messageId property.</param> /// <param name="groupId">Initial value of the groupId property.</param> /// <param name="userId">Initial value of the userId property.</param> /// <param name="value">Initial value of the value property.</param> /// <param name="postDate">Initial value of the postDate property.</param> public static Messages CreateMessages(global::System.Int32 messageId, global::System.Int32 groupId, global::System.Int64 userId, global::System.String value, global::System.DateTime postDate) { Messages messages = new Messages(); messages.messageId = messageId; messages.groupId = groupId; messages.userId = userId; messages.value = value; messages.postDate = postDate; return messages; }
/// <summary> /// Deprecated Method for adding a new object to the Messages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMessages(Messages messages) { base.AddObject("Messages", messages); }