Search code examples
c#asp.netentity-frameworkentity-framework-4edmx

How to use older version of Entity Framework when updating Model


I am working on a Web application which uses Entity Framework 4.1.10331.0.

I have made couple of changes in DB and now I need to update the model (Entity Model/EDMX) in Visual Studio, but when I update I get this screen which allows main to choose between EF5 and EF6 with a message that "Your project references an older version of entity framework ......"

How can I use EF 4.1.10331.0 while updating (or even creating new) the model ?

Upgrading to EF5 or EF6 is not an option at the moment because I will have to make many changes if I upgrade. I just want that my model will be updated/created using EF 4.1.10331.0

Thanks in advance

Your project references an older version of entity framework


Solution

  • As per directions of Caius Jard and Daid Browne, I manually updated the Edmx (Xml) and it worked perfectly. i.e. In such case the best solution if to edit Edmx file's Xml manually.