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
Can we influence Entity Relationship property names?
-
- Posts: 3
- Joined: Thu 08 Sep 2011 08:02
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
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.
Feel free to contact us if anything is unclear.