RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSQLResolver.FreeTreeData Method

Frees the internal data maintained by a TUpdateTree.

Pascal
procedure FreeTreeData(Tree: TUpdateTree); override;
C++
virtual __fastcall FreeTreeData(TUpdateTree Tree);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!