RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomResolver.InternalUpdateRecord Method

Manages the updating process once a delta packet is wrapped in a TUpdateTree object.

Pascal
function InternalUpdateRecord(Tree: TUpdateTree): Boolean; virtual;
C++
virtual __fastcall Boolean InternalUpdateRecord(TUpdateTree Tree);

InternalUpdateRecord orchestrates the updating process, ensuring that updates are applied in the correct order and that errors are resolved or logged. For each record that must be updated, InternalUpdateRecord  

1.Generates a BeforeUpdateRecord event. 

2.Applies the update. 

3.Generates an AfterUpdateRecord event if the update is successful, or calls HandleUpdateError to generate an OnUpdateError event. 

 

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