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
CheeseDataService
Package to access SIERA+ related data services and models
537
SieraDataService
RAD-14: Increase length of Gresb entity name
89
CheeseDataService
Package to access SIERA related data services and models
83
Microsoft.AspNet.Identity.EntityFramework
ASP.NET Identity providers that use Entity Framework.
78
CheeseDataService
Package to access SIERA related data services and models
55
SieraDataService
SIERA-5700: Adding new columns to consumption loader tables(tbConsumptionByDateRange and ConsumptionByDateRangeBulkUpload)
44
SieraDataService
SIERA-5792 - Adding delete date clause to anywhere tbRecommendation is referenced
37
SieraDataService
Siera Data Access
35
SieraDataService
SPR-6396: Actions list: Added New column 'Created by'
35
SieraDataService
SPR-7617: Action-Based pathways issues on Fund and Asset NZC page.
35
SieraDataService
SIERA-5517: Disabling the trigger on tbCarbonTariffRate table
34
SieraDataService
SIERA-6437: Change rules for when an operational green building certificate can be included in the GRESB submission
34
SieraDataService
SPR-7160 : Create Region and City tables
34
SieraDataService
SIERA-6327/6271: GRESB updates to EPC energy rating German A-G (unofficial).
33
SieraDataService
SPR-7569: Payback period overwritten issue fix
32
CheeseDataService
Package to access SIERA related data services and models
31
SieraDataService
Increased the decimal data type size for Cached Consumption percentages.
30
SieraDataService
SIERA-5466: Updating trigger and corrected the error caused due to wrong Alter Table script
30
SieraDataService
SPR-6447: Add DB fields and logic to persist selection of required PAIs
30
SieraDataService
SPR-7514: Added missing parameters
30

.NET Framework 4.0

  • No dependencies.

.NET Framework 4.5

  • No dependencies.

.NET Standard 2.1

Version Downloads Last updated
6.6.0-preview1-final 37 05/13/2026
6.5.2 20 06/27/2026
6.5.1 22 06/27/2024
6.5.0 16 07/04/2024
6.5.0-preview2-24180-01 19 06/27/2026
6.4.4 1,021 01/11/2021
6.4.0 23 01/08/2024
6.4.0-preview3-19553-01 16 01/10/2024
6.4.0-preview2-19525-03 13 01/10/2024
6.4.0-preview1-19506-01 21 01/10/2024
6.3.0 17 12/27/2023
6.3.0-rc1-19458-04 23 01/09/2024
6.3.0-preview9-19423-04 30 01/10/2024
6.3.0-preview8-19405-04 22 01/09/2024
6.3.0-preview7-19363-02 28 01/09/2024
6.3.0-preview6-19304-03 19 01/10/2024
6.3.0-preview5-19254-05 14 01/10/2024
6.2.0 21 01/07/2024
6.2.0-beta1 20 01/09/2024
6.1.3 23 01/27/2021
6.1.3-beta1 17 01/08/2024
6.1.2 22 01/07/2024
6.1.2-beta2 33 01/09/2024
6.1.2-beta1 19 12/31/2023
6.1.1 15 02/28/2022
6.1.1-beta1 21 01/09/2024
6.1.0 29 01/07/2024
6.1.0-beta1 28 01/08/2024
6.1.0-alpha1 17 01/08/2024
6.0.2 16 01/07/2024
6.0.2-beta1 22 01/08/2024
6.0.1 26 03/07/2024
6.0.0 27 01/07/2024
6.0.0-rc1 32 01/08/2024
6.0.0-beta1 25 12/15/2023
6.0.0-alpha3 14 01/08/2024
6.0.0-alpha2 23 01/03/2024
6.0.0-alpha1 25 01/08/2024
5.0.0 17 01/07/2024
5.0.0-rc 18 12/23/2023
5.0.0-beta2 18 01/09/2024
5.0.0-beta1 18 01/09/2024
4.3.1 15 01/07/2024
4.3.0 13 01/07/2024
4.3.0-beta1 16 01/09/2024
4.2.0 21 12/24/2023
4.1.10715 17 01/08/2024
4.1.10331 22 01/08/2024