Datasnap.Provider.TSQLResolver.DoDelete

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Datasnap.Provider.pas
Datasnap.Provider.hpp
Unit: Datasnap.Provider
Parent: TSQLResolver

Delphi

procedure DoDelete(Tree: TUpdateTree); override;

C++

virtual void __fastcall DoDelete(TUpdateTree* Tree);

Description

Defines a method that deletes a record.

Datasnap.Provider.TSQLResolver.DoDelete inherits from Datasnap.Provider.TCustomResolver.DoDelete. All content below this line refers to Datasnap.Provider.TCustomResolver.DoDelete.

Defines a method that deletes a record.

DoDelete 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 deleted, the resolver calls DoDelete.

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

See Also