FireDAC.Stan.Option.TFDUpdateOptions.EnableInsert
Delphi
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.