Show: Delphi C++
Display Preferences

FireDAC.Comp.Client.TFDCustomConnection.InTransaction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property InTransaction: Boolean read GetInTransaction;

C++

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

Properties

Type Visibility Source Unit Parent
property public
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDCustomConnection

Description

Indicates whether a connection transaction is in progress or not.

Examine InTransaction at run time to determine whether a connection 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

InTransaction is the shortcut for ConnectionIntf.Transaction.Active or Transaction.Active.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance