Page 1 of 1
How update project from EF 4.3.1 to EF 5.0
Posted: Sun 23 Dec 2012 00:27
by Pauli
Hi
I have a test project which I have updated to EF version 5.0 but I can not create enum type in Entity developer.
Is there any instruction how update project from EF 4.3.1 to EF 5.0?
Re: How update project from EF 4.3.1 to EF 5.0
Posted: Tue 25 Dec 2012 12:07
by Pauli
Can somebody help because I have production project that I want to upgrade to EF 5.0. I can upgrade Entity framework but Entity developer's Model Explorer does not work like in Model which is created as EF 5.0. For example New Enum Type menu is not enabled. I don't know what is wrong.
Re: How update project from EF 4.3.1 to EF 5.0
Posted: Tue 25 Dec 2012 15:24
by Shalex
Right click on the designer surface of your *.edml model > Model Settings > Model > General > set the "Entity Framework version:" drop-down list value to "Entity Framework 5.0".
Re: How update project from EF 4.3.1 to EF 5.0
Posted: Fri 28 Dec 2012 12:08
by Pauli
Thank you for answer. I updated EF 4.3.1 to EF 5.0 but drop-down list does not have value "Entity Framework 5.0". Is it because project's target framework is .NET Framework 4? I don't want to force customer to install .NET 4.5. I read that EF 5.0 can be used on .NET 4.0 and 4.5 which means that I can use EF 5.0. Or is it better to use EF 4.3.1?
Re: How update project from EF 4.3.1 to EF 5.0
Posted: Sat 29 Dec 2012 13:20
by Shalex
The "Entity Framework 5.0" option is available only on a workstation where .NET Framework 4.5 is installed because the EFv5.0 functionality (e.g.: Enum Type support) is included in .NET 4.5.