June 2003
Intermediate to advanced
800 pages
34h 20m
English
You want to perform multiple operations with different data sources, and you want these operations to either fail or succeed as a unit.
Derive your class from ServicedComponent, specify the type of transactional behavior you want by adding the Transaction attribute to the class declaration, and add the AutoComplete attribute to all methods.
COM+ allows you to create classes that have set transaction requirements. When a client uses a method in a transactional class, a transaction will be started automatically, and committed when the code completes. Coding transactions in this way is easy and transparent. It also allows you to flexibly tie multiple methods together in a single transaction ...
Read now
Unlock full access