Datasnap.Provider.TUpdateTree.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AParent: TUpdateTree; AResolver: TCustomResolver);

C++

__fastcall TUpdateTree(TUpdateTree* AParent, TCustomResolver* AResolver);

Properties

Type Visibility Source Unit Parent
constructor public
Datasnap.Provider.pas
Datasnap.Provider.hpp
Datasnap.Provider TUpdateTree

Description

Creates and initializes an instance of TUpdateTree.

Applications do not need to call the TUpdateTree constructor. Update trees are created automatically by the resolver components that use them.

The AParent parameter specifies the TUpdateTree for the updates to a master table if this update tree represents a detail dataset. If the TUpdateTree does not represent the updates to a detail dataset, AParent is nil (Delphi) or NULL (C++).

The AResolver parameter specifies the resolver component that uses this update tree when applying updates. This parameter must be specified because the update tree calls some of this resolver's methods.