Primary Key setting for Views
I have a database that has few tables and views. Views are combination of 2 to 3 tables. I have created entity model from that db, and all worked well. The only problem I am facing is that entity model is making all the开发者_Go百科 fields in view as primary key.
Is there a way to tell entity model which field to use as primary key? or I should simply ignore it?
In the designer you can set the properties that need to be used as 'entity key' property. Key meaning the primary key.
精彩评论