TMasterDataLink class
Datalink for Master-Detail relationships between datasets.
Declaration
TMasterDataLink = class(TDetailDataLink)Inheritance
- TMasterDataLink
- TDetailDataLink
- TDataLink
- TPersistent
- TObject
Descends from it: TMasterParamsDataLink
Description
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
Dataset property.
The class also provides functionality for keeping a list of fields that make up the master-detail functionality, in the FieldNames and Fields properties.
This class should never be used in application code.
See also
Properties
FieldNames | public | List of fieldnames that make up the master-detail relationship. |
Fields | public | List of fields as specified in FieldNames. |
Methods
ActiveChanged | protected | |
CheckBrowseMode | protected | |
GetDetailDataSet | protected | |
LayoutChanged | protected | |
RecordChanged | protected | |
DoMasterDisable | protected | |
DoMasterChange | protected | |
Create | public | Create a new instance of TMasterDataLink. |
Destroy | public | Free the datalink instance from memory. |
Events
OnMasterChange | public | Called whenever the master dataset data changes. |
OnMasterDisable | public | Called whenever the master dataset is disabled. |
Inherited
From TDetailDataLink (1)
From TDataLink (31)
Active ActiveRecord BOF BufferCount DataEvent DataSet DataSetChanged DataSetScrolled DataSource DataSourceFixed Edit Editing EditingChanged Eof ExecuteAction FirstRecord FocusControl GetActiveRecord GetBOF GetBufferCount GetEOF GetRecordCount MoveBy ReadOnly RecordCount SetActiveRecord SetBufferCount UpdateAction UpdateData UpdateRecord VisualControl
From TPersistent (8)
Assign AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers GetNamePath GetOwner
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
