Table of Contents

PrimaryJoinColumnAttribute Class

Defines the primary key column of a child table that references the parent table's primary key in a joined-tables inheritance strategy.

Remarks

Apply this attribute to each descendant class when using the joined-tables inheritance strategy. The named column is both the primary key of the child table and a foreign key referencing the corresponding column in the parent table. If omitted, the same column name as the parent table's primary key is used. When the ancestor has a composite identifier, one PrimaryJoinColumn can be specified per primary key column.

Syntax

Unit: Aurelius.Mapping.Attributes

PrimaryJoinColumnAttribute = class(TCustomAttribute);

Constructors

Name Description
Create Creates a PrimaryJoinColumnAttribute with the specified column name.

Properties

Name Description
Name Gets or sets the column name used as primary key in the child table.