When would you use EF6 vs EF Core?

Technology CommunityCategory: Entity FrameworkWhen would you use EF6 vs EF Core?
VietMX Staff asked 3 years ago

Consider using EF Core for a new application if both of the following conditions are true:

  • The app needs the capabilities of .NET Core. For more information, see Choosing between .NET Core and .NET Framework for server apps.
  • EF Core supports all of the features that the app requires. If a desired feature is missing, check the EF Core Roadmap to find out if there are plans to support it in the future.

Consider using EF6 if both of the following conditions are true:

  • The app will run on Windows and the .NET Framework 4.0 or later.
  • EF6 supports all of the features that the app requires.