What is EF Default Id Naming Convention Code First?
I am using EF code first approach. I started to make mapping files(I come
from nihbernate background) but found out that you really don't need them
unless you need to do some changes.
I am wondering what will it use for the naming convention of my Id's?
Will it be Product_Id or ProductId?
Edit
Based on the comments so far this leaves me a bit puzzled. I was asking
because I added 2 new classes(ie tables) and hooked them up and recreated
my database.
Both of the FK in my tables that have a relationship to my new tables all
have "Product_Id" and I thought maybe it was because I had no mapping for
it.
I just tried using mapping and same issue.
All other tables relationships have Camel Upper Case.
No comments:
Post a Comment