RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetResolver.DoInsert Method

Defines a method that inserts a record.

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

DoInsert 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 inserted, the resolver calls DoInsert. 

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

 

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