FireDAC.Comp.Client.TFDCustomTransaction.Options

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
Unit: FireDAC.Comp.Client
Parent: TFDCustomTransaction

Delphi

property Options: TFDTxOptions read FOptionsIntf write SetOptions;

C++

__property Firedac::Stan::Option::TFDTxOptions* Options = {read=FOptionsIntf, write=SetOptions};

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;

See Also