FireDAC.Stan.Option.TFDUpdateOptions.ReadOnly

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ReadOnly: Boolean read GetReadOnly write SetReadOnly  stored False default False;

C++

__property bool ReadOnly = {read=GetReadOnly, write=SetReadOnly, stored=false, default=0};

Properties

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

Description

Specifies whether the dataset is read-only.

Use the ReadOnly property to prevent users from updating, inserting, or deleting data in the dataset. By default, ReadOnly is False

To guarantee that users cannot modify the dataset data, set ReadOnly to True. The property is the shortcut for the EnableDelete, EnableInsert, or EnableUpdate properties.

See Also