TurboDB VCL Component Library

TTdbDatabase.StartTransaction

TTdbDatabase

Previous  Top  Next

Begins a transaction.

Delphi syntax:

procedure StartTransaction;

C++ syntax:

void __fastcall StartTransaction(void);

Description

Use StartTransaction to begin a new transaction with isolation level read committed. Since TurboDB can only have one active transaction per database session at given time, the procedure will throw an exception, if there is already a transaction running. Call Commit or Rollback to end a transaction.