Data.DB.TDataLink.DataSource

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDataLink

Delphi

property DataSource: TDataSource read FDataSource write SetDataSource;

C++

__property TDataSource* DataSource = {read=FDataSource, write=SetDataSource};

Description

Specifies the TDataSource object that the Owner of the TDataLink uses to connect to the dataset.

Use DataSource to determine or set the TDataSource object that connects to the dataset. TDataLink responds to data events that the DataSource receives.

Note: To implement the DataSource property of a data-aware object which owns a TDataLink or its descendant, create a method that gets or sets the DataSource property of the TDataLink derived member.

See Also