Transaction Issues
When you get to the point of utilizing transactions, you must make sure that an action or a series of actions are completed successfully, or you want to make sure that everything gets rolled back if there is a problem during the process. To get started, you’ll look at some of the basics of transactions before you look at how to debug them.
Transaction Models
The .NET Framework uses two basic transaction models:
Automatic —Automatically aborts or completes the transaction
Manual —Requires you to call SetComplete or SetAbort
The amount of control that you want over the processing of your transaction determines which method you use. In most cases, the automatic model should suffice. For a managed object to participate in an automatic ...
Get Debugging ASP.NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.