[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Datalink for Master-Detail relationships between datasets.
Source position: db.pas line 1800
type TMasterDataLink = class(TDetailDataLink) end; |
||
public |
||
constructor Create(); virtual; |
|
Create a new instance of TMasterDataLink |
destructor Destroy; override; |
|
Free the datalink instance from memory |
property FieldNames: string; [rw] |
|
List of fieldnames that make up the master-detail relationship |
|
List of fields as specified in FieldNames |
|
property OnMasterChange: TNotifyEvent; [rw] |
|
Called whenever the master dataset data changes |
property OnMasterDisable: TNotifyEvent; [rw] |
|
Called whenever the master dataset is disabled |
|
Datalink for Master-Detail relationships between datasets. |
|
| | ||
|
Represents the link between a detail data source and a master datasource. |
|
| | ||
|
Data event handling agent for controls |
|
| | ||
| | ||
TMasterDataLink is a TDatalink descendent which handles master-detail relations. It can be used in TDataset descendents that must have master-detail functionality: the detail dataset creates an instance of TMasterDataLink to point to the master dataset, which is subsequently available through the TDataLink.Dataset property.
The class also provides functionailty for keeping a list of fields that make up the master-detail functionality, in the TMasterDatalink.FieldNames and TMasterDataLink.Fields properties.
This class should never be used in application code.
|
Base class for records-based data-access |
|
|
Datasource this datalink is connected to |
|
|
Dataset this datalink is connected to |
|
|
List of fieldnames that make up the master-detail relationship |
|
|
List of fields as specified in FieldNames |