/// <summary> /// Create a new MessageQueue object. /// </summary> /// <param name="messageQueueID">Initial value of the MessageQueueID property.</param> /// <param name="type_MessageQueueTypeID">Initial value of the Type_MessageQueueTypeID property.</param> /// <param name="status_MessageQueueStatusID">Initial value of the Status_MessageQueueStatusID property.</param> /// <param name="messageBody">Initial value of the MessageBody property.</param> /// <param name="active">Initial value of the Active property.</param> /// <param name="createdBy_UserID">Initial value of the CreatedBy_UserID property.</param> /// <param name="createdOn">Initial value of the CreatedOn property.</param> /// <param name="modifiedBy_UserID">Initial value of the ModifiedBy_UserID property.</param> /// <param name="modifiedOn">Initial value of the ModifiedOn property.</param> public static MessageQueue CreateMessageQueue(global::System.Int32 messageQueueID, global::System.Int32 type_MessageQueueTypeID, global::System.Int32 status_MessageQueueStatusID, global::System.String messageBody, global::System.Boolean active, global::System.Int32 createdBy_UserID, global::System.DateTime createdOn, global::System.Int32 modifiedBy_UserID, global::System.DateTime modifiedOn) { MessageQueue messageQueue = new MessageQueue(); messageQueue.MessageQueueID = messageQueueID; messageQueue.Type_MessageQueueTypeID = type_MessageQueueTypeID; messageQueue.Status_MessageQueueStatusID = status_MessageQueueStatusID; messageQueue.MessageBody = messageBody; messageQueue.Active = active; messageQueue.CreatedBy_UserID = createdBy_UserID; messageQueue.CreatedOn = createdOn; messageQueue.ModifiedBy_UserID = modifiedBy_UserID; messageQueue.ModifiedOn = modifiedOn; return messageQueue; }
/// <summary> /// Deprecated Method for adding a new object to the MessageQueues EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMessageQueues(MessageQueue messageQueue) { base.AddObject("MessageQueues", messageQueue); }