FireDAC.Stan.Option.TFDUpdateOptions.FastUpdates
Delphi
property FastUpdates: Boolean read GetFastUpdates write SetFastUpdates
C++
__property bool FastUpdates = {read=GetFastUpdates, write=SetFastUpdates, stored=false, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Stan.Option.pas FireDAC.Stan.Option.hpp |
FireDAC.Stan.Option | TFDUpdateOptions |
Description
Controls the choice between fast and secure updates.
Use the FastUpdates property to choose the high performance updates (True) or the secure updates (False).
To perform update commands faster, FireDAC will cache update commands, use primary key fields to locate the updated record, will not lock records before editing, will not refresh records after posting updates and will avoid some checks inside of a dataset. Setting FastUpdates to True is the shortcut for setting:
- UpdateChangedFields = False
- LockMode =
lmNone
- UpdateMode =
upWhereKeyOnly
- RefreshMode =
rmManual
- CheckRequired = False
- CheckReadOnly = False
- CheckUpdatable = False