FireDAC.Stan.Option.TFDUpdateOptions.UpdateMode
Delphi
property UpdateMode: TUpdateMode read GetUpdateMode write SetUpdateMode stored IsUMS default upWhereKeyOnly;
C++
__property Data::Db::TUpdateMode UpdateMode = {read=GetUpdateMode, write=SetUpdateMode, stored=IsUMS, default=2};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Stan.Option.pas FireDAC.Stan.Option.hpp |
FireDAC.Stan.Option | TFDUpdateOptions |
Description
Controls how FireDAC locates records when posting updates.
Use the UpdateMode property to specify the criteria for locating a record in the database when posting updates. The default value is upWhereKeyOnly
.
UpdateMode specifies whether records are located based on all columns (fields), on only the key fields, or on the key fields plus the original values of fields that have been modified.
To control how FireDAC locates records by specifying individual fields, use the ProviderFlags property of the field component.