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
EntityFramework.zh-Hans
此文件包中包含了实体框架的简体中文卫星程序集
12
EntityFramework.zh-Hans
此文件包中包含了实体框架的简体中文卫星程序集
14
EntityFramework.zh-Hans
此文件包中包含了实体框架的简体中文卫星程序集
15
Microsoft.AspNet.Identity.EntityFramework
ASP.NET Identity providers that use Entity Framework.
12
Microsoft.AspNet.Identity.EntityFramework
ASP.NET Identity providers that use Entity Framework.
13
Microsoft.AspNet.Identity.EntityFramework
ASP.NET Identity providers that use Entity Framework.
14
Microsoft.AspNet.Identity.EntityFramework
ASP.NET Identity providers that use Entity Framework.
16
Microsoft.AspNet.Providers.Core
ASP.NET Universal Providers add provider support in ASP.NET 4 for all editions of SQL Server 2005 and later and to SQL Azure. If you use these providers to develop your application, the application will be ready for cloud environments like Azure. Other than supporting additional storage options, the providers work like the existing SQL-based providers, so that you can easily switch an application to use cloud storage via SQL Azure.
14
Microsoft.AspNet.Providers.Core
ASP.NET Universal Providers add provider support in ASP.NET 4 for all editions of SQL Server 2005 and later and to SQL Azure. If you use these providers to develop your application, the application will be ready for cloud environments like Azure. Other than supporting additional storage options, the providers work like the existing SQL-based providers, so that you can easily switch an application to use cloud storage via SQL Azure.
22
MySql.Data.Entity
Entity Framework 6.0 supported
16
MySql.Data.EntityFramework
MySql.Data.EntityFramework
11
MySql.Data.EntityFramework
MySql.Data.EntityFramework
13
Oracle.ManagedDataAccess.EntityFramework
This NuGet package is for ODP.NET, Managed Driver applications that use Code First and/or Entity Framework 6 applications. It will add and configure the Oracle Entity Framework assembly for your application.
12
Oracle.ManagedDataAccess.EntityFramework
This NuGet package is for ODP.NET, Managed Driver applications that use Code First and/or Entity Framework 6 applications. It will add the Oracle Entity Framework assembly and auto-configure for its use. Note that this package does not include ODP.NET, Managed Driver which is available as a separate NuGet package.
11
System.Data.SQLite.EF6
Support for Entity Framework 6 using System.Data.SQLite.
12

.NET Framework 4.0

  • No dependencies.

.NET Framework 4.5

  • No dependencies.

.NET Standard 2.1

Version Downloads Last updated
6.5.1 5 11/02/2024
6.5.0 4 11/19/2024
6.5.0-preview2-24180-01 11 05/10/2024
6.4.0-preview3-19553-01 14 06/07/2022
6.3.0-rc1-19458-04 12 06/07/2022
6.3.0-preview7-19363-02 10 06/07/2022
6.3.0-preview6-19304-03 14 06/07/2022
6.1.0 14 06/07/2022
6.1.0-alpha1 9 06/07/2022
6.0.0 14 06/07/2022
6.0.0-rc1 9 07/16/2023
5.0.0-beta2 12 06/07/2022