Bde.DBTables.TDatabase.InTransaction

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TDatabase

Delphi

property InTransaction: Boolean read GetInTransaction;

C++

__property bool InTransaction = {read=GetInTransaction, nodefault};

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.

See Also