|
|
1-7 of 7 ASP Databases > Transactions sites are shown.
|
|
Transactions are important to maintain data integrity, among other things, and have been used with databases for some time now. Luckily, transactions aren't restricted to databases - you can use them in Active Server Pages as well, and without having to create custom components using Microsoft Transaction Server (MTS). This article will take a look at what transactions are, how they will help ASP developers, and how to implement them.
|
|
|
|
|
|
|
Begins a new transaction and returns a long value indicating the number of nested transactions.
|
|
|
|
|
|
|
Saves any changes and ends the current transaction. It can also be set to automatically start a new transaction.
|
|
|
|
|
|
|
After a BeginTrans operation has finished executing, you can call this event to trigger other operations.
|
|
|
|
|
|
|
After a RollbackTrans operation has finished executing, you can call this event to trigger other operations
|
|
|
|
|
|
|
After a CommitTrans operation has finished executing, you can call this event to trigger other operations.
|
|
|
|
|
|
|
Cancels any changes that have occurred during the current transaction and then ends the transaction. It can also be set to automatically start a new transaction.
|
|
|
|
|
|