Data.SqlExpr.TSQLDataLink

From RAD Studio API Documentation
Jump to: navigation, search

Data.DB.TDetailDataLinkData.DB.TDataLinkSystem.Classes.TPersistentSystem.TObjectTSQLDataLink

Delphi

TSQLDataLink = class(TDetailDataLink)

C++

class PASCALIMPLEMENTATION TSQLDataLink : public Data::Db::TDetailDataLink

Properties

Type Visibility Source Unit Parent
class public
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr Data.SqlExpr

Description

TSQLDataLink allows a unidirectional dataset act as the detail in a master/detail relationship.

SQL datasets use TSQLDataLink to coordinate with another (master) dataset when they represent the detail records for that other dataset. TSQLDataLink passes on data events to the data source that owns it. It is also used to implement the DataSource or MasterSource property of the dataset that owns it.

Do not confuse the dataset that is the value of the TSQLDataLink object's DataSet property with the dataset that uses TSQLDataLink to link to a master dataset. The DataSet property is the master dataset, while the dataset that owns the TSQLDataLink object is the detail set.

See Also