e01.org

Entity Framework

Entity Framework (EF) is an open source object–relational mapping (ORM) framework for ADO.NET. It was originally shipped as an integral part of .NET Framework, however starting with Entity Framework version 6.0 it has been delivered separately from the .NET Framework. Entity Framework 6.4 was the latest release of the classic framework. Although Entity Framework 6 is still supported, it is no longer being developed and will only receive fixes for security issues. A new framework known as Entity Framework Core (EF Core) was introduced in 2016 with similar but not complete feature parity. Version numbering of this framework restarted from 1.0.

Entity Framework (EF) is an open source object–relational mapping (ORM) framework for ADO.NET. It was originally shipped as an integral part of .NET Framework, however starting with Entity Framework version 6.0 it has been delivered separately from the .NET Framework. Entity Framework 6.4 was the latest release of the classic framework. Although Entity Framework 6 is still supported, it is no longer being developed and will only receive fixes for security issues. A new framework known as Entity Framework Core (EF Core) was introduced in 2016 with similar but not complete feature parity. Version numbering of this framework restarted from 1.0. EntityType ::= ENTITYTYPE entityTypeName [BASE entityTypeName] [ABSTRACT true|false] KEY propertyName [, propertyName]* {(propertyName PropertyType [PropertyFacet]*) +} PropertyType ::= ( (PrimitiveType [PrimitiveTypeFacets]*) | (complexTypeName) | RowType PropertyFacet ::= ( [NULLABLE true | false] | [DEFAULT defaultVal] | [MULTIPLICITY [1|* ) PropertyTypeFacet ::= MAXLENGTH | PRECISION | SCALE | UNICODE | FIXEDLENGTH | COLLATION | DATETIMEKIND | PRESERVESECONDS PrimitiveType ::= BINARY | STRING | BOOLEAN | SINGLE | DOUBLE | DECIMAL | GUID | BYTE | SBYTE | INT16 | INT32 | INT64 | DATETIME | DATETIMEOFFSET | TIME ) Facets are used to describe metadata of a property, such as whether it is nullable or has a default value, as also the cardinality of the property, i.e., whether the property is single valued or multi valued. A multiplicity of “1” denotes a single valued property; a “*” means it is a multi-valued property. As an example, an entity can be denoted in SDL as: A relationship type is defined as specifying the end points and their multiplicities. For example, a one-to-many relationship between Customer and Orders can be defined as EF Core exposes design-time commands for migrations and reverse engineering via the .NET CLI (dotnet ef) and Visual Studio Package Manager Console, which scaffold a DbContext and entity types from an existing database. Beyond the official tooling, IDE integrations provide GUI workflows for common tasks: EF Core Power Tools in Visual Studio adds database-first reverse engineering and model visualization, while Entity Developer offers a visual designer for EF Core that supports database-first and model-first approaches with code generation and mapping configuration. Similar capabilities are available in other IDEs (e.g., Rider’s UI for EF Core commands), and advanced scenarios can leverage customizable scaffolding templates to control generated code.

References

  1. ^ "Entity Framework - Home" . GitHub . September 14, 2016. Wikipedia revision 1359100601, retrieved 2026-11-19 · 1795042800.0
  2. ^ Hanselman, Scott. "ASP.NET 5 is dead - Introducing ASP.NET Core 1.0 and .NET Core 1.0 - Scott Hanselman" . www.hanselman.com . Retrieved 2016-07-11 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1468191600.0
  3. ^ "Announcing .NET Core 2.0" . .NET Blog. 14 August 2017. Wikipedia revision 1359100601, retrieved 2026-11-19 · 1795042800.0
  4. ^ "Announcing .NET Core 3.0" . .NET Blog. 23 September 2019. Wikipedia revision 1359100601, retrieved 2026-11-19 · 1795042800.0
  5. ^ Krill, Paul (20 July 2012). "Microsoft open-sources Entity Framework" . InfoWorld . Retrieved 2012-07-24 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1343084400.0
  6. ^ "Entity Framework Core Releases and Planning" . December 2023. Wikipedia revision 1359100601, retrieved 2026-11-19 · 1795042800.0
  7. ^ ajcvickers. "Plan for Entity Framework Core 6.0" . learn.microsoft.com . Retrieved 2022-12-12 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1670799600.0
  8. ^ "Microsoft.EntityFrameworkCore 6.0.0" . nuget.org . Retrieved 2022-12-12 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1670799600.0
  9. ^ ajcvickers. "EF Core releases and planning" . learn.microsoft.com . Retrieved 2022-12-12 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1670799600.0
  10. ^ Roth, Daniel (2022-11-08). "Announcing ASP.NET Core in .NET 7" . .NET Blog . Retrieved 2022-12-12 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1670799600.0
  11. ^ ajcvickers. "What's New in EF Core 7.0" . learn.microsoft.com . Retrieved 2022-12-12 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1670799600.0
  12. ^ Arthur, Vickers (2023-11-14). "Entity Framework Core 8 (EF8) is available today" . .NET Blog . Retrieved 2023-11-14 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1699916400.0
  13. ^ ajcvickers (14 November 2023). "What's New in EF Core 8" . learn.microsoft.com . Retrieved 2023-11-14 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1699916400.0
  14. ^ ajcvickers (9 March 2022). "Entity Framework Support Policies" . learn.microsoft.com . Retrieved 2022-12-12 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1670799600.0
  15. ^ ajcvickers (2022-03-09). "Porting from EF6 to EF Core - Porting an EDMX-Based Model - EF" . learn.microsoft.com . Retrieved 2024-06-07 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1717714800.0
  16. ^ Kogent Solutions Inc. (2009), ASP.NET 3.5 Black Book , Dreamtech Press, ISBN 978-81-7722-831-1 Wikipedia revision 1359100601, retrieved 2026-11-19 · 1795042800.0
  17. ^ ajcvickers. "Compare EF6 and EF Core" . learn.microsoft.com . Retrieved 2022-12-12 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1670799600.0
  18. ^ "LINQ to Entities - ADO.NET" . Microsoft Learn . September 15, 2021 . Retrieved 2026-06-13 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1781305200.0
  19. ^ "Entity Framework documentation hub" . Microsoft Learn . Retrieved 2026-06-13 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1781305200.0
  20. ^ "Linq to Entity query visualizer - Visual Studio Marketplace" . marketplace.visualstudio.com . Retrieved 2022-12-12 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1670799600.0
  21. ^ ErikEJ. "Tools & Extensions - EF Core" . learn.microsoft.com . Retrieved 2022-12-12 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1670799600.0
  22. ^ ajcvickers (9 March 2022). "Tools & Extensions - EF6" . learn.microsoft.com . Retrieved 2022-12-12 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1670799600.0
  23. ^ "The Object-Relational Impedance Mismatch" . AgileData.org . Retrieved 2022-12-12 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1670799600.0
  24. ^ mcleblanc (15 September 2021). "Entity Framework Overview - ADO.NET" . learn.microsoft.com . Retrieved 2022-12-12 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1670799600.0
  25. ^ ComplexType Element (CSDL) , MSDN , retrieved 2010-12-06 Wikipedia revision 1359100601, retrieved 2026-11-19 · 1291590000.0
  26. ^ Conceptual Model Types , MSDN , retrieved 2010-12-06 Wikipedia revision 1359100601, retrieved 2026-11-19 · 1291590000.0
  27. ^ "Releases · dotnet/efcore · GitHub" . GitHub . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1795042800.0
  28. ^ CSDL, SSDL, and MSL Specifications , MSDN , archived from the original on 2010-11-08 , retrieved 2010-12-06 Wikipedia revision 1359100601, retrieved 2026-11-19 · 1291590000.0
  29. ^ a b ajcvickers. "Plan for Entity Framework Core 5.0" . learn.microsoft.com . Retrieved 2022-12-12 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1670799600.0
  30. ^ Entity Data Model Wizard , MSDN , retrieved 2010-12-06 Wikipedia revision 1359100601, retrieved 2026-11-19 · 1291590000.0
  31. ^ Facets (CSDL) , MSDN , retrieved 2010-12-06 Wikipedia revision 1359100601, retrieved 2026-11-19 · 1291590000.0
  32. ^ a b Canonical Functions (Entity SQL) , MSDN , retrieved 2010-03-29 Wikipedia revision 1359100601, retrieved 2026-11-19 · 1269817200.0
  33. ^ OnDelete Element (CSDL) , MSDN , retrieved 2010-12-06 Wikipedia revision 1359100601, retrieved 2026-11-19 · 1291590000.0
  34. ^ a b Simple Types (EDM) , MSDN , retrieved 2010-12-06 Wikipedia revision 1359100601, retrieved 2026-11-19 · 1291590000.0
  35. ^ "Entity Framework Core 1.0.0 Available" . 27 June 2016. Wikipedia revision 1359100601, retrieved 2026-11-19 · 1795042800.0
  36. ^ "Entity Data Model" . MSDN, Microsoft. August 2, 2012 . Retrieved August 15, 2013 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1795042800.0
  37. ^ a b "Microsoft.EntityFrameworkCore 5.0.0" . nuget.org . Retrieved 2022-12-12 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1670799600.0
  38. ^ "EF5 Available on CodePlex" . August 11, 2012. Archived from the original on September 7, 2017 . Retrieved March 20, 2014 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1795042800.0
  39. ^ "Update on the Entity Framework in .NET 4 and Visual Studio 2010" . ADO.NET team blog. May 11, 2009. Archived from the original on January 20, 2010 . Retrieved November 1, 2011 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1795042800.0
  40. ^ "EF4.3.1 and EF5 Beta 1 Available on NuGet" . ADO.NET team blog. February 29, 2012. Archived from the original on March 25, 2012 . Retrieved March 27, 2012 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1795042800.0
  41. ^ a b "EF7 - New Platforms, New Data Stores" . May 19, 2014. Archived from the original on 2015-09-29. Wikipedia revision 1359100601, retrieved 2026-11-19 · 1795042800.0
  42. ^ "EF6 RTM Available" . October 17, 2013. Archived from the original on 2014-03-30. Wikipedia revision 1359100601, retrieved 2026-11-19 · 1795042800.0
  43. ^ ajcvickers (14 October 2020). "What's new - EF6" . learn.microsoft.com . Retrieved 2022-12-12 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1670799600.0
  44. ^ "Entity Framework Vote of No Confidence Signatories | Wufoo" . efvote.wufoo.com . Retrieved 2022-12-12 . Wikipedia revision 1359100601, retrieved 2026-11-19 · 1670799600.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Entity Framework". 1781311431. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1359100601

JSON record · API collection · citation policy