Page 1 of 1

Database First - Associations Logic

Posted: Mon 10 Jun 2019 13:00
by lixaotec
Dear,

How can I change the way ED does the Association generation of Model from Database?

I wish to get naming conventions changed and also the tell the direction of navigation from Foreign Key data.

Is it possible somehow to extend this behavior?

thanks

Re: Database First - Associations Logic

Posted: Wed 12 Jun 2019 18:31
by Shalex
lixaotec wrote:
Mon 10 Jun 2019 13:00
I wish to get naming conventions changed
There is the "Add constraint details to navigation properties" option in Model Settings > Synchronization > Model Naming.
lixaotec wrote:
Mon 10 Jun 2019 13:00
also the tell the direction of navigation from Foreign Key data.
The direction of one-to-many association is always PK -> FK. How do you want to change this direction?