FireDAC.Stan.Option.TFDUpdateOptions.EnableInsert

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property EnableInsert: Boolean read GetEnableInsert write SetEnableInsert  stored IsEIS default True;

C++

__property bool EnableInsert = {read=GetEnableInsert, write=SetEnableInsert, stored=IsEIS, 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 insert records into the dataset.

Use the EnableInsert property to enable the addition of new records to the dataset (True). If it is disallowed (False), then the Insert/Append method raise an exception. The default value is True.

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

See Also