My question says it all, but here's some background:
Due to various constraints I'm stuck on .NET 4.0 until at least July 2014. However, I'm tasked with converting our DAL to use Entity Framework for help with scalability and performance. Currently we load all data into memory from a single xml file so I'm looking at using Code First with our existing entities. We have a very large and complex model with lots of inheritance and enums and I'd really like enum support and performance improvements available with the newer releases.
So, do I starting working with EF6 now and hope it's official before our release date, start with EF4 then migrate? Or just wait until our next product release before starting with EF at all? Any advice is appreciated.
Versions 6.0, 6.1, 6.2, and 6.3 are no longer supported. Although Entity Framework 6. x is still supported, it is no longer being developed and will only receive fixes for security issues.
To use Entity Framework 6, your project has to compile against . NET Framework, as Entity Framework 6 doesn't support .
EF Core 6.0 requires . NET 6.
The most recent Entity Framework Core 6.0 (EF Core 6) was released on 10 November 2021.
If you want to use CodeFirst you can start from EF5 for .NET Framework 4 and then move to EF6. You will miss quite a few features that are not available in this version (EF5 has a dependency on System.Data.Entity.dll that is part of the .NET Framework version and therefore EF5 for .NET Framework 4 cannot use features like enums, spatial types etc. since they are not supported in the System.Data.Entity dll shipped with .NET Framework 4). Alternatively you can just try EF6. Currently the latest version is alpha3. On the other hand it is an open source version so if something is not working or you need something you can go ahead and do it yourself. Note that there is a change in provider model in EF6 so if you are not using Sql Server or Sql Server CE you need to make sure there is an EF6 capable provider for your database.
EDIT
Here is an interesting blog post from a member on our team on release dates: EF6 release dates…or lack thereof.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With