ForeignJoinColumnAttribute.Create Constructor
Creates a ForeignJoinColumnAttribute specifying the foreign key column name, property flags, and the referenced column.
Syntax
Unit: Aurelius.Mapping.Attributes
constructor ForeignJoinColumnAttribute.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 child table. |
| Properties | TColumnProps | A set of TColumnProp flags. |
|
| const | ReferencedColumnName | string | The column name in the parent table that is referenced. If empty, the primary key column of the parent table is used. |