Datasnap.Provider.TDataSetResolver.DoDelete
Delphi
procedure DoDelete(Tree: TUpdateTree); override;
C++
virtual void __fastcall DoDelete(TUpdateTree* Tree);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | TDataSetResolver |
Description
Defines a method that deletes a record.
Datasnap.Provider.TDataSetResolver.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.