Data.DB.TUpdateMode
Delphi
TUpdateMode = (upWhereAll, upWhereChanged, upWhereKeyOnly);
C++
enum DECLSPEC_DENUM TUpdateMode : unsigned char { upWhereAll, upWhereChanged, upWhereKeyOnly };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Data.DB.pas Data.DB.hpp |
Data.DB | Data.DB |
Description
TUpdateMode indicates how to locate records so that they can be updated.
TUpdateMode is the type of the UpdateMode property. UpdateMode specifies how the records are located when the ApplyUpdates method is called. TUpdateMode includes the following values:
Value | Meaning |
---|---|
upWhereAll |
All columns (fields) are used to locate the record. |
upWhereChanged |
Only key field values and the original value of fields that have changed are used to find the record. |
upWhereKeyOnly |
Only key fields are used to find the record. |