/// <summary> /// Create a new Message2 object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="messageID">Initial value of the MessageID property.</param> /// <param name="subscriptionID">Initial value of the SubscriptionID property.</param> /// <param name="guid">Initial value of the Guid property.</param> /// <param name="messagePutTime">Initial value of the MessagePutTime property.</param> /// <param name="messageReadTime">Initial value of the MessageReadTime property.</param> /// <param name="timestamp">Initial value of the Timestamp property.</param> /// <param name="batchNumber">Initial value of the BatchNumber property.</param> public static Message2 CreateMessage2(global::System.Int32 id, global::System.String name, global::System.String messageID, global::System.String subscriptionID, global::System.Guid guid, global::System.DateTime messagePutTime, global::System.DateTime messageReadTime, global::System.Byte[] timestamp, global::System.Int32 batchNumber) { Message2 message2 = new Message2(); message2.ID = id; message2.Name = name; message2.MessageID = messageID; message2.SubscriptionID = subscriptionID; message2.Guid = guid; message2.MessagePutTime = messagePutTime; message2.MessageReadTime = messageReadTime; message2.Timestamp = timestamp; message2.BatchNumber = batchNumber; return message2; }
/// <summary> /// Deprecated Method for adding a new object to the Message2 EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMessage2(Message2 message2) { base.AddObject("Message2", message2); }