Skip to main content
Updated the very outdated EF tag info.
Source Link
Gert Arnold
  • 108.7k
  • 36
  • 213
  • 307

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.0beginning 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.

The ADO.NET Entity Framework (EF) 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 support for EF. It includes GUI tools for model-to-database and database-to-model generation. The .NET Text Template Transformation Toolkit (T4) or text-templating libraries are leveraged to generate entity classes, and this code generation is customizable in various ways from within Visual Studio.

Approaches

  • Code First
  • Database First
  • Model First

Version specific tags:

Add a version specific tag to indicate the version you're using

###Initial Release: August 11, 2008

###Stable Release: 6.2.0 (October 26, 2017)

https://www.nuget.org/packages/EntityFramework/6.2.0

###References

###Books

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.

Entity Framework was first developed for .Net framework (production-ready versions 4.x - 6.x). In 2016, Entity Framework for .Net core (EF-core) was introduced, having a completely new codebase which shares many concepts with the classic framework but differs considerably in mapping syntax, query translation and specific features. After version 1 and 2, EF-core 3 came with many breaking changes, marking the beginning of a more stable evolution path. EF core 5 (versions keep track with .Net core versions) has far less breaking changes.

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.

Because of all these different versions it's very important to use the right tags when asking questions.

Entity Framework is well-documented.

The ADO.NET Entity Framework (EF) 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 support for EF. It includes GUI tools for model-to-database and database-to-model generation. The .NET Text Template Transformation Toolkit (T4) or text-templating libraries are leveraged to generate entity classes, and this code generation is customizable in various ways from within Visual Studio.

Approaches

  • Code First
  • Database First
  • Model First

Version specific tags:

Add a version specific tag to indicate the version you're using

###Initial Release: August 11, 2008

###Stable Release: 6.2.0 (October 26, 2017)

https://www.nuget.org/packages/EntityFramework/6.2.0

###References

###Books

The ADO.NET Entity Framework (EF) 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 support for EF. It includes GUI tools for model-to-database and database-to-model generation. The .NET Text Template Transformation Toolkit (T4) or text-templating libraries are leveraged to generate entity classes, and this code generation is customizable in various ways from within Visual Studio.

Approaches

  • Code First
  • Database First
  • Model First

Version specific tags:

Add a version specific tag to indicate the version you're using

###Initial Release: August 11, 2008

###Stable Release: 6.2.0 (October 26, 2017)

https://www.nuget.org/packages/EntityFramework/6.2.0

###References

###Books

The ADO.NET Entity Framework (EF) 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 support for EF. It includes GUI tools for model-to-database and database-to-model generation. The .NET Text Template Transformation Toolkit (T4) or text-templating libraries are leveraged to generate entity classes, and this code generation is customizable in various ways from within Visual Studio.

Approaches

  • Code First
  • Database First
  • Model First

Version specific tags:

Add a version specific tag to indicate the version you're using

###Initial Release: August 11, 2008

###Stable Release: 6.2.0 (October 26, 2017)

https://www.nuget.org/packages/EntityFramework/6.2.0

###References

###Books

Discourage using the tag for the core version, in line with other .Net tags.
Source Link
Gert Arnold
  • 108.7k
  • 36
  • 213
  • 307

The ADO.NET Entity Framework (EF) 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 support for EF. It includes GUI tools for model-to-database and database-to-model generation. The .NET Text Template Transformation Toolkit (T4) or text-templating libraries are leveraged to generate entity classes, and this code generation is customizable in various ways from within Visual Studio.

Approaches

  • Code First
  • Database First
  • Model First

Version specific tags:

Add a version specific tag to indicate the version you're using

###Initial Release: August 11, 2008

###Stable Release: 6.2.0 (October 26, 2017)

https://www.nuget.org/packages/EntityFramework/6.2.0

###References

###Books

The ADO.NET Entity Framework (EF) 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 support for EF. It includes GUI tools for model-to-database and database-to-model generation. The .NET Text Template Transformation Toolkit (T4) or text-templating libraries are leveraged to generate entity classes, and this code generation is customizable in various ways from within Visual Studio.

Approaches

  • Code First
  • Database First
  • Model First

Version specific tags:

Add a version specific tag to indicate the version you're using

###Initial Release: August 11, 2008

###Stable Release: 6.2.0 (October 26, 2017)

https://www.nuget.org/packages/EntityFramework/6.2.0

###References

###Books

The ADO.NET Entity Framework (EF) 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 support for EF. It includes GUI tools for model-to-database and database-to-model generation. The .NET Text Template Transformation Toolkit (T4) or text-templating libraries are leveraged to generate entity classes, and this code generation is customizable in various ways from within Visual Studio.

Approaches

  • Code First
  • Database First
  • Model First

Version specific tags:

Add a version specific tag to indicate the version you're using

###Initial Release: August 11, 2008

###Stable Release: 6.2.0 (October 26, 2017)

https://www.nuget.org/packages/EntityFramework/6.2.0

###References

###Books

added 286 characters in body
Source Link
rene
  • 42.3k
  • 78
  • 119
  • 163
Loading
Removed "built-in" because as of EF6 that's no longer true
Source Link
Gert Arnold
  • 108.7k
  • 36
  • 213
  • 307
Loading
Added a link to a very good book on entity framework which has full coverage on all approaches of EF based development
Source Link
Loading
new version of EF, removed defunct link, added API reference link
Source Link
Loading
Loading
added a link to the EF source on codeplex
Source Link
Loading
Adding a link to the main Entity Framework page on MSDN
Source Link
Loading
added references to themore popular books on EF4; Post Made Community Wiki
Source Link
Loading
added Wikipedia link
Source Link
Devart
  • 121.5k
  • 23
  • 169
  • 189
Loading
Source Link
Craig Stuntz
  • 126.5k
  • 12
  • 256
  • 275
Loading