Bde.DBTables.TDatabase.InTransaction
Delphi
property InTransaction: Boolean read GetInTransaction;
C++
__property bool InTransaction = {read=GetInTransaction, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Bde.DBTables.pas Bde.DBTables.hpp |
Bde.DBTables | TDatabase |
Description
Indicates whether a database transaction is in progress or not.
Examine InTransaction at run time to determine whether a database transaction is currently in progress. InTransaction is true if a transaction is in progress, false otherwise.
The value of InTransaction cannot be changed directly. Calling StartTransaction sets InTransaction to true. Calling Commit or Rollback sets InTransaction to false.