Datasnap.Provider.TSQLResolver.FreeTreeData

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Datasnap.Provider.pas
Datasnap.Provider.hpp
Unit: Datasnap.Provider
Parent: TSQLResolver

Delphi

procedure FreeTreeData(Tree: TUpdateTree); override;

C++

virtual void __fastcall FreeTreeData(TUpdateTree* Tree);

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.

See Also