Datasnap.Provider.TCustomResolver.InitTreeData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure InitTreeData(Tree: TUpdateTree); virtual;

C++

virtual void __fastcall InitTreeData(TUpdateTree* Tree);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Datasnap.Provider.pas
Datasnap.Provider.hpp
Datasnap.Provider TCustomResolver

Description

Initializes the internal data maintained by TUpdateTree.

The ApplyUpdates method wraps delta packets in a TUpdateTree object. The TUpdateTree stores the delta packet, along with information that the resolver uses when applying updates. This information varies, depending on the class of resolver.

InitTreeData is called internally when the resolver's TUpdateTree object is created. As implemented in TCustomResolver, InitTreeData does nothing. Descendants override this method to store any class-specific information that they use when applying updates.

See Also