FireDAC.Comp.Client.TFDCustomTransaction.Options
Delphi
property Options: TFDTxOptions read FOptionsIntf write SetOptions;
C++
__property Firedac::Stan::Option::TFDTxOptions* Options = {read=FOptionsIntf, write=SetOptions};
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomTransaction |
Description
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;