TSQLTransaction.StartTransaction procedure
Start a new transaction.
Declaration
procedure StartTransaction; overrideDescription
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.
Errors
If
StartTransaction is called while the transaction is still
active, an exception will be raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
