Table of Contents

JoinColumnAttribute.Create Constructor

Creates a JoinColumnAttribute specifying the foreign key column name, property flags, and the referenced column.

Syntax

Unit: Aurelius.Mapping.Attributes

constructor JoinColumnAttribute.Create(const Name: string; Properties: TColumnProps; const ReferencedColumnName: string);

Parameters

<-> Parameter Type Description
const Name string The name of the foreign key column in the current entity's table.
Properties TColumnProps A set of TColumnProp flags.
const ReferencedColumnName string The column name in the associated table that is referenced.
If empty, the primary key column of the associated table is used.

See also