Entity Framework 6 (EF6)

Entity Framework 6(EF6)是经过多年功能开发和稳定测试的 .NET 对象关系映射器。它消除了开发人员通常需要编写的大部分数据访问代码。这是 Entity Framework 6 的代码库(之前维护在 https://entityframework.codeplex.com)。Entity Framework Core 维护在 https://github.com/aspnet/EntityFrameworkCore。『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. This is the codebase for Entity Framework 6 (previously maintained at https://entityframework.codeplex.com). Entity Framework Core is maintained at https://github.com/aspnet/EntityFrameworkCore.』

Github stars Tracking Chart

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.

Main metrics

Overview
Name With Ownerdotnet/ef6
Primary LanguageC#
Program languageBatchfile (Language Count: 9)
Platform
License:MIT License
所有者活动
Created At2015-07-31 03:47:23
Pushed At2025-05-12 05:01:41
Last Commit At
Release Count42
Last Release Namev6.5.1 (Posted on )
First Release Name6.0.0-beta1 (Posted on 2013-06-03 09:51:44)
用户参与
Stargazers Count1.4k
Watchers Count152
Fork Count550
Commits Count3.3k
Has Issues Enabled
Issues Count1118
Issue Open Count1
Pull Requests Count969
Pull Requests Open Count2
Pull Requests Close Count141
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private