Microsoft has released the Preview 1 of Entity Framework Core 2.0. This new light-weight and cross-platform version of EF can be used in multiple .NET platforms, such as - .NET Core 2.0, .NET Framework 4.6, and other newer versions.
As per Microsoft, EF Core follows the same release cycle as .NET Core, and installing as well as upgrading it is quite simple. In
official announcement, the company states,
“Applications based on ASP.NET Core 2.0 Preview 1 can already use EF Core 2.0 Preview 1. Also, existing ASP.NET Core applications can upgrade EF Core by upgrading to the 2.0 Preview 1 version of the ASP.NET Core meta-package and removing any references to older EF Core runtime packages.
Other applications can upgrade by installing a 2.0 Preview 1-compatible version of the EF Core provider.”
Here are some core improvements that Microsoft has made in the Preview 1 of EF Core.
- LINQ implementation is made more efficient and robust
- Simplified Entity Framework Core’s provider model along with its utilization of DI
- Added community contributions
- More than 100 bug fixes that were reported by customers
- Updated command line and Package Manager Console tools