Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Entity Framework 5.0 - minimum .Net Framework version required ? .Net 4.0 or 4.5?

For Entity Framework 5.0, What is the minimum .Net Framework version required ? either .Net 4.0 or 4.5 ?

like image 497
Ananth Ramasamy Meenachi Avatar asked Aug 28 '12 21:08

Ananth Ramasamy Meenachi


1 Answers

That depends on what you mean by "required".

In order to use all features, .NET 4.5 is required. However, EF5 will run on .NET 4, but will basically function the same as EF 4.3.

EDIT:

EF5 will still provide some minor performance enhancements on .NET 4, and will of course provide bug fixes, but will not provide the majority of new features (like Enum support, Spatial types, etc..)

EDIT (6/24/12):

As of EF6, the new performance features were moved out of the core framework, so you can now get full benefits on .NET 4, but EF5 is still dependent upon 4.5 for the improvements.

like image 200
Erik Funkenbusch Avatar answered Oct 28 '22 19:10

Erik Funkenbusch