FireDAC.Stan.Option.TFDUpdateOptions.EnableDelete

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property EnableDelete: Boolean read GetEnableDelete write SetEnableDelete  stored IsEDS default True;

C++

__property bool EnableDelete = {read=GetEnableDelete, write=SetEnableDelete, stored=IsEDS, default=1};

Properties

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

Description

Allows you to delete records from the dataset.

Use the EnableDelete property to enable records deletion from the dataset (True). If it is disallowed (False), then the Delete method raises an exception. The default value is True

If you need a read-only dataset, then use the ReadOnly property.

See Also