UseGeneratedIDForTransactionID

A constant to specify to use the generated entity ID for a created entity or media entity as the transaction ID for the request.

Using the generated entity ID as a transaction ID is ideal for cases where requests for a new entity need to be grouped into a transaction but there is no other pre-defined transaction ID.

Using the generated entity ID as a transaction ID is also ideal for cases where a graph of related entities (for example, a parent-child hierarchy) needs to be grouped into a transaction and the entity ID of the to be created root is the ideal choice for the transaction ID.

Note: This can be used in a change set and subsequent requests in the change set can reference the created entity (by EntityValue) to also be grouped in the same transaction.