The ADO.NET Entity Framework (EF)Entity Framework is .NET's Object-Relational Mapping (ORM) tool that enables .NET developers to work with relational data using domain-specific objects. It eliminates the need for most of the data-access code that developers usually need to write. Either natively, or through third-party libraries, it supports most major RDBM products including SQL Server, MySQL, Oracle, PostgreSQL and SQLite. It also supports Microsoft's "LINQ" syntax and lambda-expressions via the LINQ to Entities library.
Visual Studio provides design-time supportEntity Framework was first developed for EF. It includes GUI tools for model-to-database and database-toNet framework (production-model generationready versions 4. Thex - 6.NETx). In 2016, Entity Framework for Text Template Transformation Toolkit.Net core (T4) or textEF-templating libraries are leveraged to generate entity classescore) was introduced, and this code generation is customizablehaving a completely new codebase which shares many concepts with the classic framework but differs considerably in various ways from within Visual Studiomapping syntax, query translation and specific features.
Approaches
- Code First
- Database First
- Model First
Version specific tags:
Add a After version specific tag to indicate1 and 2, EF-core 3 came with many breaking changes, marking the version you're using
###Initial Release:
August 11, 2008
###Stable Release:
6.2.0
beginning of a more stable evolution path. EF core 5 (October 26, 2017versions keep track with .Net core versions) has far less breaking changes.
https://www.nuget.org/packages/EntityFramework/6.2.0 As of version 6.3.0, EF 6 is cross-platform. It targets .Net standard 2.1. NuGet packages are available for .Net core 3 and .NET Framework 4.x.
###ReferencesBecause of all these different versions it's very important to use the right tags when asking questions.
###BooksEntity Framework is well-documented.