API:Data.DB.TMasterDataLink.Create

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

constructor Create(DataSet: TDataSet);

C++

__fastcall TMasterDataLink(TDataSet* DataSet);

Description

Creates an instance of TDataLink.

Data.DB.TMasterDataLink.Create inherits from Data.DB.TDataLink.Create. All content below this line refers to Data.DB.TDataLink.Create.

Creates an instance of TDataLink.

Create is called from the constructor of any data-aware object that uses a TDataLink to implement its DataSource property.

After calling the inherited constructor, Create initializes the BufferCount property to 1. Data-aware objects that use a TDataLink object to manage their link to a DataSource should change the BufferCount property to the number or records they represent, after calling the inherited constructor.

See Also