I'm using Model-First Entity Framework with an edmx file that has been "reverse engineered" from an existing database.
For the most part, the entities and navigation properties have been detected automatically based on my conventions, but there are some navigation properties missing - for example:
At the moment Works.EditorUserID is a foreign key to Users.UserID, but Entity Framework does not automatically include an Editor navigation property on the generated object.
Is there a better naming convention that I can use on my database that would allow this to happen?
Thanks
UPDATE:
I have just realised that the navigation property is in fact being created, but it's name is not very useful - it is creating a navigation property called User instead of Editor.