Start a new transaction.
Source position: sqldb.pp line 355
public procedure TSQLTransaction.StartTransaction; override; |
StartTransaction starts a new transaction context. All changes written to the database must be confirmed with a Commit or can be undone with a Rollback call.
Calling StartTransaction is equivalent to setting Active to True.
If StartTransaction is called while the transaction is still active, an exception will be raised.
|
Start a new transaction. |
|
|
Commit the transaction, end transaction context. |
|
|
Roll back all changes made in the current transaction. |
|
|
Commit the transaction, retain transaction context. |
|
|
End the transaction. |