Author : HASSAN MD TAREQ

Entity Framework

  • Entity Framework (EF) is an ORM (object-relational mapper) for .NET
  • Can not be used for .Net core or .Net standard projects
  • Latest version: Entity Framework 6 (EF6)
  • Consider using Entity Framework Core (all efforts moved to EF core)

Should I use EF6 or EF Core?

EF Core is a more modern, lightweight and extensible version of Entity Framework that has very similar capabilities and benefits to EF6. EF Core is a complete rewrite and contains many new features not available in EF6, although it also still lacks some of the most advanced mapping capabilities of EF6.

Consider using EF Core in new applications