FireDAC.Comp.Client.TFDCustomTransaction.Active
[–] Properties | |
---|---|
Type: property | |
Visibility: public | |
Source: FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp
| |
Unit: FireDAC.Comp.Client | |
Parent: TFDCustomTransaction |
Delphi
property Active: Boolean read GetActive;
C++
__property bool Active = {read=GetActive, nodefault};
Description
Indicates whether a database transaction is in progress or not.
Examine Active at run time to determine if a database transaction is currently in progress. Active is True if a transaction is in progress, and False otherwise.
The value of Active cannot be changed directly. Calling StartTransaction sets Active to True. Calling Commit or Rollback sets Active to False.