Visual Studio 2013 and Entity Framework 4

2019-09-08 18:49发布

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!

0条回答
登录 后发表回答