Hello,
I have two tables - Contact and Address:
Contact:
ID int identity,
Phone varchar(20),
Email varchar(50),
AddressId int,
MailToAddressId int
Address:
ID int identity,
and other fields (not important).
When I generate the code (adapter), I get these fields in the ContactEntity: Address and Address_. I, of course, would like the fields to be Address and MailToAddress instead. Is there a way to do this?
I've tried to change FkFieldsAreNamedAfterTargetField and ForeignKeyFieldPattern settings in designer, but they seem to do absolutely nothing - not a single line of code was changed in a project of ~50 tables.
I am using Version 3.0 Final (released on September 8th, 2010).