Visual Studio 2013 and Entity Framework 4

杀马特。学长 韩版系。学妹 提交于 2019-12-11 22:11:48

问题


I'm working on an older project that uses Entity Framework 4 in Visual Studio 2013. When going to "Update Model from Database" it only gives me EF 5 or EF 6 to choose from when updating the database. This installs EF 5 in my project and upgrades it from EF4 to EF5.

I attempted converting the project to EF5, but entity framework has a bug where classes in different name spaces cannot have the same class name in the entity model. This would require a WHOLE LOT of changes.

Reading about EF 6, they said this bug was resolved, but it was only resolved for code first EF. This doesn't work for us.

All I want is to update the EF4 .emdx and add a table in visual studio 2013 using the designer.

HELP!

来源:https://stackoverflow.com/questions/24214854/visual-studio-2013-and-entity-framework-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!