This section explains the benefits of distributing work among multiple transactions.
![]() |
Scenario: Storing Receipt Numbers in a Database Add the UpdateReceipt component, which stores a maximum receipt number in a database and runs in a new transaction. |
![]() |
Creating the UpdateReceipt Component Create the UpdateReceipt component, and modify the Receipt component to use UpdateReceipt. |
![]() |
Application Design Notes: Using Separate Transactions Learn why this scenario requires separate transactions. |
See Also
Transactions, Transaction Attributes, Activities