RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetResolver.DoDelete Method

Defines a method that deletes a record.

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

DoDelete is one of several helper methods internal to the ApplyUpdates method. These helper methods perform the actual updates in the delta packet. ApplyUpdates wraps the delta packet in a TUpdateTree object. For each record that must be deleted, the resolver calls DoDelete. 

TCustomResolver does not implement the DoDelete method. Descendants override this method to delete records in their own specialized way. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!