开发者

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.

Primary Key setting for Views

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜