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
EFUtilities
Adds batch operations to Entity Framework when using MS Sql server
3
EntityFramework.BulkInsert-ef6-ext
Updated port of EntityFramework.BulkInsert from Codeplex site.
4
EntityFramework.MappingAPI
We moved here: http://entityframework-extensions.net/ NOTE: The current package is *UNSUPPORTED* since 2014
5
EntityFramework.MappingAPI
We moved here: https://entityframework-extensions.net/ NOTE: The current package is *UNSUPPORTED* since 2014
3
EntityFramework6.BulkInsert
Fast Bulk insert extension for EntityFramework 6
3
EntityFrameworkExtras.EF6
EntityFrameworkExtras.EF6 provides some useful additions to EntityFramework such as executing Stored Procedures with User-Defined Table Types and Output Parameters. github: https://github.com/Fodsuk/EntityFrameworkExtras (See Changelog!) contact: fodsuk at hotmail dot com
3
EntityFrameworkExtras.EF6
EntityFrameworkExtras.EF6 provides some useful additions to EntityFramework such as executing Stored Procedures with User-Defined Table Types and Output Parameters. **IMPORTANT** - Entity Framework Core: https://www.nuget.org/packages/EntityFrameworkExtras.EFCore/ - Entity Framework 6: https://www.nuget.org/packages/EntityFrameworkExtras.EF6/ - Entity Framework 5: https://www.nuget.org/packages/EntityFrameworkExtras.EF5/ - Entity Framework 4: https://www.nuget.org/packages/EntityFrameworkExtras/
3
Microsoft.AspNet.Identity.EntityFramework
ASP.NET Identity providers that use Entity Framework.
4
Microsoft.AspNet.Identity.EntityFramework
ASP.NET Identity providers that use Entity Framework.
5
System.Data.SQLite.EF6
Support for Entity Framework 6 using System.Data.SQLite.
3

.NET Framework 4.0

  • No dependencies.

.NET Framework 4.5

  • No dependencies.

.NET Standard 2.1

Version Downloads Last updated
6.5.1 4 11/20/2024
6.5.0 0 06/14/2024
6.5.0-preview2-24180-01 0 04/18/2024
6.4.4 8 08/18/2023
6.4.0 8 02/14/2024
6.4.0-preview3-19553-01 3 03/09/2024
6.4.0-preview2-19525-03 3 03/03/2024
6.4.0-preview1-19506-01 2 03/03/2024
6.3.0 4 01/31/2024
6.3.0-rc1-19458-04 3 03/03/2024
6.3.0-preview9-19423-04 3 03/02/2024
6.3.0-preview8-19405-04 3 03/02/2024
6.3.0-preview7-19363-02 3 03/03/2024
6.3.0-preview6-19304-03 3 03/03/2024
6.3.0-preview5-19254-05 3 03/06/2024
6.2.0 10 01/16/2024
6.2.0-beta1 3 03/06/2024
6.1.3 3 09/12/2023
6.1.3-beta1 3 03/06/2024
6.1.2 2 03/26/2024
6.1.2-beta2 3 03/04/2024
6.1.2-beta1 3 03/05/2024
6.1.1 3 01/01/2024
6.1.1-beta1 3 03/05/2024
6.1.0 4 12/21/2023
6.1.0-beta1 3 03/06/2024
6.1.0-alpha1 0 12/20/2013
6.0.2 3 03/02/2024
6.0.2-beta1 3 03/04/2024
6.0.1 1 03/12/2024
6.0.0 6 03/01/2024
6.0.0-rc1 3 03/04/2024
6.0.0-beta1 3 03/06/2024
6.0.0-alpha3 3 03/05/2024
6.0.0-alpha2 3 03/05/2024
6.0.0-alpha1 3 02/28/2024
5.0.0 3 03/01/2024
5.0.0-rc 3 03/04/2024
5.0.0-beta2 3 03/05/2024
5.0.0-beta1 3 03/06/2024
4.3.1 3 03/01/2024
4.3.0 3 01/25/2024
4.3.0-beta1 3 03/05/2024
4.2.0 2 03/12/2024
4.1.10715 1 03/03/2024
4.1.10331 3 03/04/2024