RAD Studio VCL Reference
|
Returns a dataset positioned on the record of the source dataset that is currently being fetched or updated.
function GetDataSetFromDelta(ATree: TUpdateTree; Source: TDataSet; Delta: TDataSet; Mode: TUpdateMode): TDataSet; virtual;
virtual __fastcall TDataSet GetDataSetFromDelta(TUpdateTree ATree, TDataSet Source, TDataSet Delta, TUpdateMode Mode);
GetDataSetFromDelta is used internally to fetch a specific record when the source dataset is unidirectional.
ATree is a TUpdateTree object that represents the update or data fetch operation.
Source is a source dataset. Because it is unidirectional, however, it is not necessarily positioned on the correct record.
Delta is a delta dataset that indicates the desired record.
Mode indicates the criteria to use for locating a record on the server from the dataset that Source uses. The values that follow these criteria come from Delta.
GetDataSetFromDelta returns a unidirectional dataset that corresponds to Source but that contains a single record based on the criteria in Delta and Mode.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|