EF Core and EF6: Which One Is Right for You

The following information will help you choose between Entity Framework Core and Entity Framework 6.

Guidance for new applications

Because EF Core is a new product, and still lacks some critical O/RM features, EF6 will still be the most suitable choice for many applications.

These are the types of applications we would recommend using EF Core for.

  • New applications that do not require features that are not yet implemented in EF Core. Review Feature Comparison to see if EF Core may be a suitable choice for your application.

  • Applications that target .NET Core, such as Universal Windows Platform (UWP) and ASP.NET Core applications. These applications can not use EF6 as it requires the .NET Framework (i.e. .NET Framework 4.5).

Guidance for existing EF6 applications

Because of the fundamental changes in EF Core we do not recommend attempting to move an EF6 application to EF Core unless you have a compelling reason to make the change. If you want to move to EF Core to make use of new features, then make sure you are aware of its limitations before you start. Review Feature Comparison to see if EF Core may be a suitable choice for your application.

You should view the move from EF6 to EF Core as a port rather than an upgrade. See Porting from EF6 to EF Core for more information.