FireDAC.Stan.Option.TFDUpdateOptions.ReadOnly

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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