TAutomappingEngine.GetForeignJoinColumnName Method
Returns the foreign key column name placed in the child table for a one-to-many association.
Syntax
Unit: Aurelius.Mapping.Automapping
function TAutomappingEngine.GetForeignJoinColumnName(Member: TRttiMember; Column: TColumn): string; virtual;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| Member | TRttiMember | The collection field or property on the parent entity. | |
| Column | TColumn | The primary key column in the parent entity. |
Returns
The foreign join column name, by default formed as <field_name>_<parent_class_name>_<referenced_column_name>.