API:FireDAC.Comp.Client.TFDTransaction.Options

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

property Options;

C++

__property Options;

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;

See Also