FireDAC.Comp.Client.TFDTransaction.Options
Delphi
property Options: TFDTxOptions read FOptionsIntf write SetOptions;
C++
__property Options;
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDTransaction |
Description
The set of options controlling transaction behavior.
FireDAC.Comp.Client.TFDTransaction.Options inherits from FireDAC.Comp.Client.TFDCustomTransaction.Options. All content below this line refers to FireDAC.Comp.Client.TFDCustomTransaction.Options.
The set of options controlling transaction behavior.
The Options property returns a reference to objects, consisting of the set of options that control transaction behavior. Changing options will not take immediate effect, it is deferred until the first transaction control statement.
Example
FDTransaction1.Options.ReadOnly := True;
FDTransaction1.StartTransaction;