Can we influence Entity Relationship property names?

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
ShaunHarvey
Posts: 3
Joined: Thu 08 Sep 2011 08:02

Can we influence Entity Relationship property names?

Post by ShaunHarvey » Thu 03 Nov 2011 10:18

Hi,

I've had this query from another team member. As I am relatively new to EF myself. I thought I would ask here as I'm not sure of the answer.

We have a table called Reachability with a column called Rch_Bg_NextHop_Connector.

This has a foreign key relationship to a table called Connector.

When the model is generated from a SQLite Database an Entity relationship property is created for it which is named Connector1.

The question my colleague has is this:

Can we configure the model to call it Rch_Bg_NextHop_Con_Object or something a little more obvious than Connector1?

I have a feeling that this maybe be to do with templates but I'm not sure if that is correct or not.

Regards,
Shaun Harvey

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Fri 04 Nov 2011 16:16

You can change the navigation property name in the Association Editor dialog box. To open this dialog box, double-click the association in Entity Developer. For more information on this, please refer to the 'Entity Framework' -> 'Concepts' -> 'Associations' topic of the Entity Developer documentation.

Feel free to contact us if anything is unclear.

Post Reply