Datasnap.Provider.TCustomResolver.InternalUpdateRecord

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

virtual bool __fastcall InternalUpdateRecord(TUpdateTree* Tree);

Properties

Type Visibility Source Unit Parent
function public
Datasnap.Provider.pas
Datasnap.Provider.hpp
Datasnap.Provider TCustomResolver

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