FireDAC.Stan.Option.TFDUpdateOptions

Delphi
TFDUpdateOptions = class (TFDCustomOptions)
C++
class PASCALIMPLEMENTATION TFDUpdateOptions : public TFDCustomOptions
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FireDAC.Stan.Option.pas FireDAC.Stan.Option.hpp |
FireDAC.Stan.Option | FireDAC.Stan.Option |
Description
The set of options controlling dataset editing and updates posting.
The TFDUpdateOptions class represents the set of properties controlling how FireDAC datasets and DApt Layer adapt interfaces:
- Allow to edit data (EnableDelete, EnableInsert, EnableUpdate, ReadOnly, CheckRequired, CheckReadOnly, CheckUpdatable). TField.ReadOnly and TField.Required also affect this.
- Lock database records (LockMode, LockPoint, LockWait).
- Use database generators and sequences for auto-incrementing fields (FetchGeneratorsPoint, GeneratorName). TField.AutoGenerateValue also affects this.
- Generate updates posting commands (UpdateChangedFields, UpdateNonBaseFields, UpdateMode, FastUpdates). TField.ProviderFlags and TField.Origin also affect this.
- Refresh data (RefreshMode, RefreshDelete).
- Check the updates posting result (CountUpdatedRecords).
TFDUpdateOptions is an intermediate class in the update options classes hierarchy. The TFDCustomManager and TFDCustomConnection classes use TFDUpdateOptions. TFDCustomCommand, TFDDataSet and adapters use TFDBottomUpdateOptions.