Datasnap.Provider.TDataSetProvider.UpdateMode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property UpdateMode: TUpdateMode read FUpdateMode write FUpdateMode default 0;

C++

__property UpdateMode = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Datasnap.Provider.pas
Datasnap.Provider.hpp
Datasnap.Provider TDataSetProvider

Description

Controls how the provider locates records when applying updates.

Datasnap.Provider.TDataSetProvider.UpdateMode inherits from Datasnap.Provider.TBaseProvider.UpdateMode. All content below this line refers to Datasnap.Provider.TBaseProvider.UpdateMode.

Controls how the provider locates records when applying updates.

Use UpdateMode to specify the criteria for locating a record in the dataset when applying updates. UpdateMode specifies whether modified 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.

Note: To control how the provider locates records by specifying individual fields, use the field components' ProviderFlags property.

See Also