Data.DB.TUpdateMode

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: enum
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: Data.DB

Delphi

TUpdateMode = (upWhereAll, upWhereChanged, upWhereKeyOnly);

C++

enum DECLSPEC_DENUM TUpdateMode : unsigned char { upWhereAll, upWhereChanged, upWhereKeyOnly };

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.



See Also