Datasnap.Provider.TCustomResolver.InternalUpdateRecord

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

function InternalUpdateRecord(Tree: TUpdateTree): Boolean; virtual;

C++

virtual bool __fastcall InternalUpdateRecord(TUpdateTree* Tree);

Description

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

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.

See Also