Datasnap.Provider.TSQLResolver.FreeTreeData
Delphi
procedure FreeTreeData(Tree: TUpdateTree); override;
C++
virtual void __fastcall FreeTreeData(TUpdateTree* Tree);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | TSQLResolver |
Description
Frees the internal data maintained by a TUpdateTree.
Datasnap.Provider.TSQLResolver.FreeTreeData inherits from Datasnap.Provider.TCustomResolver.FreeTreeData. All content below this line refers to Datasnap.Provider.TCustomResolver.FreeTreeData.
Frees the internal data maintained by a 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.
FreeTreeData is called internally just before the resolver's TUpdateTree object is freed. As implemented in TCustomResolver, FreeTreeData does nothing. Descendants override this method if any specific action is required to free the resolver-specific information that is stored in the update tree.