Datasnap.Provider.TSQLResolver.DoUpdate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoUpdate(Tree: TUpdateTree); override;

C++

virtual void __fastcall DoUpdate(TUpdateTree* Tree);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Datasnap.Provider.pas
Datasnap.Provider.hpp
Datasnap.Provider TSQLResolver

Description

Defines a method that modifies a record.

Datasnap.Provider.TSQLResolver.DoUpdate inherits from Datasnap.Provider.TCustomResolver.DoUpdate. All content below this line refers to Datasnap.Provider.TCustomResolver.DoUpdate.

Defines a method that modifies a record.

DoUpdate is one of several helper methods internal to the ApplyUpdates method. These helper methods perform the actual updates passed in the delta packet. ApplyUpdates wraps the delta packet in a TUpdateTree object. For each record that must be modified, the resolver calls DoUpdate.

TCustomResolver does not implement the DoUpdate method. Descendants override this method to insert records in their own specialized way.

See Also