Platform SDK: Transaction Server |
[This product will work only on Windows NT 4.0 versions and earlier. For Windows 2000 and later, see COM+ (Component Services).]
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