Datasnap.Provider.TCustomResolver.InitTreeData
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: public | |
Source: Datasnap.Provider.pas Datasnap.Provider.hpp
| |
Unit: Datasnap.Provider | |
Parent: TCustomResolver |
Delphi
procedure InitTreeData(Tree: TUpdateTree); virtual;
C++
virtual void __fastcall InitTreeData(TUpdateTree* Tree);
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.