ForeignKeyAttribute Class
Specifies a custom name for the foreign key generated by an association or many-valued association.
Remarks
This attribute is optional. When omitted, Aurelius automatically assigns a name to the foreign key. Apply it to the same member as Association or ManyValuedAssociation.
Syntax
Unit: Aurelius.Mapping.Attributes
ForeignKeyAttribute = class(TCustomAttribute);
Constructors
| Name | Description |
|---|---|
| Create | Creates a ForeignKeyAttribute with the specified foreign key name. |
Properties
| Name | Description |
|---|---|
| Name | Gets or sets the name of the foreign key constraint. |