---
description: EF Core is a modern object-database mapper for .NET.
---

# Entity Framework

In .NET applications, ADO.NET is an old and powerful method for accessing databases and requires a lot of coding. Simply put, all of the work is done manually. Microsoft has therefore introduced Entity Framework to automate the database technique.&#x20;

{% embed url="https://docs.microsoft.com/en-us/ef/" %}

|                                                                  Versions                                                                 |
| :---------------------------------------------------------------------------------------------------------------------------------------: |
| EF 1.0 -> EF 4.x -> EF 5.0 -> [EF 6.x](https://docs.microsoft.com/en-us/ef/ef6/) => [EF Core](https://docs.microsoft.com/en-us/ef/core/)  |
|                         EF Core 1.x -> EF Core 2.x -> EF Core 3.x -> EF Core 5 -> EF Core 6 -> EF Core 7 (Current)                        |

## EF Core

Entity Framework (EF) Core is a open source and cross-platform object-relational mapper (O/RM) for .NET, which:

* Enables developers to work with a database using .NET objects.
* Eliminates the need for most of the data-access code that typically needs to be written.
* It supports LINQ queries, change tracking, updates, and schema migrations.&#x20;
* EF Core works with many databases, including SQL Database (on-premises and Azure), SQLite, MySQL, PostgreSQL, and Azure Cosmos DB.

{% embed url="https://www.youtube.com/playlist?list=PLdo4fOcmZ0oXCPdC3fTFA3Z79-eVH3K-s" %}
