Datasnap.Provider.TBaseProvider.FetchDetails

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: TBaseProvider

Delphi

procedure FetchDetails(Source, Delta: TDataSet); virtual;

C++

virtual void __fastcall FetchDetails(Data::Db::TDataSet* Source, Data::Db::TDataSet* Delta);

Description

Fills a delta dataset with all nested dataset field values.

FetchDetails is used internally to fetch the current values of any nested datasets when the provider is executing its RowRequest method. As implemented in TBaseProvider, FetchDetails does nothing. Descendants override this method to add nested detail datasets to the delta packet specified by Delta.

Source is a source dataset that has the current values for all fields. Delta is a delta dataset that must be updated so that its nested detail fields match the values in Source.

See Also