| 1. |
How Can We Perform Transactions In .net? |
|
Answer» The most common sequence of steps that would be performed while developing a transactional application is as follows:
This method provides us with a transaction object that we will use later to commit or ROLLBACK the transaction. Note that changes caused by any queries executed before calling the Begin Transaction method will be committed to the database immediately after they execute. Set the Transaction property of the command object to the above MENTIONED transaction object.
The most common sequence of steps that would be performed while developing a transactional application is as follows: This method provides us with a transaction object that we will use later to commit or rollback the transaction. Note that changes caused by any queries executed before calling the Begin Transaction method will be committed to the database immediately after they execute. Set the Transaction property of the command object to the above mentioned transaction object. |
|