EntityFramework 6.5.1

Entity Framework 6

Entity Framework 6 (EF6) is a tried and tested object-relational mapper for .NET with many years of feature development and stabilization. It eliminates the need for most of the data-access code that developers usually need to write.

Status and Support

The latest version of EF6 is still supported by Microsoft--see Entity Framework Support Policies for details. However, EF6 is no longer being actively developed. This means that:

  • Security issues will be fixed, as for any supported product.
  • High-impact bugs, typically those impacting a very large number of users, may be fixed.
  • Other bugs will not be fixed.
  • New features will not be implemented

This plan focuses on stability of the codebase and compatibility of new versions above all else, excepting security. In general, the EF6 codebase is reliable and has been stable for several years with few significant bugs. However, due to the complexity and number of usage scenarios, and also the sheer number of applications that use EF6, any change has the potential to regress existing behaviors. This is why we will be making only security fixes. Also, we will not be accepting pull requests made by the community, again to ensure stability of the codebase.

Entity Framework Core

Entity Framework Core (EF Core) is a lightweight and extensible version of Entity Framework and continues to be actively developed on the EFCore GitHub repo. EF Core is developed exclusively for modern .NET and does not run on .NET Framework. EF Core includes many improvements and new features over EF6. EF Core has a different architecture to EF6 and takes a very different approach to its internals--for example, EF Core does not support a visual designer or EDMX files. However, most EF6 projects can be ported to EF Core with some amount of work--see Port from EF6 to EF Core for a guide.

Getting help

See the EF6 docs for installation, documentation, tutorials, samples, etc. This documentation is no longer being updated, but still contains useful and usable content.

The EF team is focusing efforts on EF Core, and hence team members are unlikely to respond to issues filed on this repo. We recommend asking questions on Stack Overflow.

You may instead choose to contact a Microsoft Support professional for support. Please note that this may incur a fee.

EF6 Tools for Visual Studio

The code for the EF6 Tools for VS (including the visual designer) can be found in the EF6Tools repo.

EF6 PowerTools

The EF6 PowerTools is a community-driven project with its own GitHub repo.

Showing the top 20 packages that depend on EntityFramework.

Packages Downloads
System.Data.Entity.Repository
System.Data.Entity Repository Extension
605
LinqKit
LinqKit.EntityFramework is a free set of extensions for LINQ to SQL and Entity Framework power users. Include(...) and IAsync are supported.
602
DelegateDecompiler.EntityFramework
A tool which is able to decompile a delegate or a method body to its lambda representation
565
EntityFramework.CodeFirstStoreFunctions
Support for store functions (table valued functions, scalar user defined functions and stored procedures) for Entity Framework 6.1.1+ Code First.
476
Core.Logging
Application Logger utilizing Entity Framework and Enterprise Library
196
Core.Logging
Application Logger utilizing Entity Framework and Enterprise Library
171
Core.Logging
Application Logger utilizing Entity Framework and Enterprise Library
132
Flowaccount.Data
Application Core
101
IdentityServer3.EntityFramework
Entity Framework-based persistence layer for IdentityServer3
95
Microsoft.AspNet.Identity.EntityFramework
ASP.NET Identity providers that use Entity Framework.
93
LinqKit
LinqKit.EntityFramework is a free set of extensions for LINQ to SQL and Entity Framework power users. Include(...) and IAsync are supported.
87
Microsoft.AspNet.Identity.EntityFramework
ASP.NET Identity providers that use Entity Framework.
80
AutoMapper.EF6
Extensions to make AutoMapper easier to work with Entity Framework. Project to collections and items, decompiling calculated properties along the way
77
Flowaccount.Data
Application Core
66
Flowaccount.Data
Application Core
64
Flowaccount.Data
Application Core
55
Flowaccount.Data
Application Core
52
Flowaccount.Data
Application Core
47

.NET Framework 4.0

  • No dependencies.

.NET Framework 4.5

  • No dependencies.

.NET Standard 2.1

Version Downloads Last updated
6.5.1 15 06/26/2024
6.5.0 7 07/17/2024
6.5.0-preview2-24180-01 12 05/23/2024
6.4.4 19 01/16/2021
6.4.0 11 01/16/2021
6.4.0-preview3-19553-01 9 08/27/2023
6.4.0-preview2-19525-03 20 05/28/2023
6.4.0-preview1-19506-01 8 08/31/2023
6.3.0 15 03/20/2023
6.3.0-rc1-19458-04 8 08/28/2023
6.3.0-preview9-19423-04 6 08/24/2023
6.3.0-preview8-19405-04 7 12/30/2023
6.3.0-preview7-19363-02 7 08/27/2023
6.3.0-preview6-19304-03 9 12/06/2023
6.3.0-preview5-19254-05 10 02/20/2024
6.2.0 554 11/14/2019
6.2.0-beta1 9 08/25/2023
6.1.3 252 11/15/2019
6.1.3-beta1 8 08/29/2023
6.1.2 12 06/14/2023
6.1.2-beta2 9 08/31/2023
6.1.2-beta1 10 08/26/2023
6.1.1 12 06/13/2023
6.1.1-beta1 11 08/24/2023
6.1.0 14 12/20/2020
6.1.0-beta1 10 08/29/2023
6.1.0-alpha1 8 08/30/2023
6.0.2 10 06/13/2023
6.0.2-beta1 13 08/29/2023
6.0.1 7 06/14/2023
6.0.0 18 06/14/2023
6.0.0-rc1 9 08/26/2023
6.0.0-beta1 11 08/29/2023
6.0.0-alpha3 11 08/29/2023
6.0.0-alpha2 9 08/29/2023
6.0.0-alpha1 8 08/26/2023
5.0.0 126 11/29/2019
5.0.0-rc 10 02/20/2024
5.0.0-beta2 12 02/20/2024
5.0.0-beta1 10 08/24/2023
4.3.1 43 06/13/2023
4.3.0 10 02/20/2024
4.3.0-beta1 11 08/25/2023
4.2.0 10 02/20/2024
4.1.10715 8 08/31/2023
4.1.10331 10 02/20/2024