Data.SqlExpr.TCustomSQLDataSet.DataLink

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: protected
Source:
Data.SqlExpr.pas
Data.SqlExpr.hpp
Unit: Data.SqlExpr
Parent: TCustomSQLDataSet

Delphi

property DataLink: TDataLink read FDataLink;

C++

__property Data::Db::TDataLink* DataLink = {read=FDataLink};

Description

Identifies the datalink that manages communication between the SQL dataset and another, master dataset.

The protected DataLink property is used internally when the SQL dataset acts as the detail dataset in a master/detail relationship that is not based on nested datasets. The datalink object manages communication between another (master) dataset and this SQL dataset. For example, it is the datalink that tells this SQL dataset to refresh its data when the active record of the master dataset changes.

Do not use DataLink to establish the relationship between an SQL dataset and another (master) dataset from which it obtains parameter values. Instead, use the DataSource property, or, if the dataset is TSQLTable, the MasterSource property.

See Also