FireDAC.Stan.Option.TFDUpdateOptions.EnableDelete

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property EnableDelete: Boolean read GetEnableDelete write SetEnableDelete

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