FireDAC.Stan.Option.TFDTxOptions.ReadOnly

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ReadOnly: Boolean read FReadOnly write SetReadOnly default False;

C++

__property bool ReadOnly = {read=FReadOnly, write=SetReadOnly, default=0};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Stan.Option.pas
FireDAC.Stan.Option.hpp
FireDAC.Stan.Option TFDTxOptions

Description

Specifies whether the transaction is read-only.

Use the ReadOnly property values to notify a DBMS that a transaction only reads data, but does not modify it. The default value is False

Setting the ReadOnly property to True allows the DBMS to optimize resource usage.

See Also