admin管理员组文章数量:1432627
I am following a tutorial of model-first approach in ASP.NET MVC in which I am using ADO.NET Entity Model Data, empty EF designer model and when generating the database after defining it's properties getting an error
An Item with the same key has already been added
Here's my model:
My Model
And this is a error I get:
Couldn't generate DDL, Error
I tried rebuilding the solution and making sure that the model doesn't have duplicate keys.
Update - Just tried the same in a different folder and it worked.
本文标签: aspnet mvcAn item with with the same key has already been addedStack Overflow
版权声明:本文标题:asp.net mvc - An item with with the same key has already been added - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745604708a2665770.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论