Error(s), Warning(s) and Action(s) reported by ValidateDatabase.

Yes, I was aware that Aurelius would use it's own names for foreign keys. So in TMS Data Modeler I already had this script:

procedure OnAssociationGenerated(Args: TAssociationGeneratedArgs);
begin
  Args.Field.AddAttribute('ForeignKey').AddRawArgument(      
    '''' + Args.DBRelationship.RelationshipName + '''');           
end;

The script helped me keep my names for all foreign keys (about 130++).

What I just noticed was that, for the three tables mentioned, TMS Data Modeler do not generate a [Association([....])] for the relationship, rather it generates a [PrimaryJoinColumn('....')]. This is, I assume, due to the fact the three tables are inherited from table Product. Thus my script for OnAssociationGenerated will not trigger.

Do you see a way for me automate keeping my names for the fk's in question, for the situation described? Or is this a case where I have to manually add that to the generated model code?