I have these 2 tables
table name: Person with columns: Personal identifier, name
table name: VisitInfo with columns: VisitPersonID, CoordinatorPersonID
both columns have a foreign key for the table
When I generate the code, I get a VisitInfo class with properties:
But what I want is VisitInfoClass with the following properties:
- VisitPerson
- CoordiniatorPerson
When you create a code file, sql metal begins to refer to the column name only for the second foreign key in the same table.
any ideas?
source
share