This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, In the Lightspeed modeller, Foreign Key fields are not displayed in their associated table/entity. i.e. Table: Addresses, field: CountryId -> maps to -> Lookup Table: Countries, field: CountryId, the Addresses.CountryId is not displayed in the modeller. Is there a way to add a custom attribute to the CountryId on the Addresses Table/Entity via the modeller? If not, what is the best practice to add a custom attribute in this scenario? Thanks |
|
|
You can add this by right clicking on the association line itself and then you can add attributes to the FK Id field by setting the "Backreference Id Custom Attributes" property, to the FK field itself by setting the "Backreference Custom Attributes" property and to the child collection on the other side of the association by setting the "Collection Custom Attributes" property.
|
|