# Entity Framework Core

> A lightweight, extensible, open source and cross-platform version of Entity Framework

Source: https://talira.ai/catalog/entity-framework-core-g9v76f6s
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / databases / orm](https://talira.ai/categories/libraries/databases/orm), [languages / dotnet](https://talira.ai/categories/languages/dotnet)
- Platforms: windows, linux, macos[^2]
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Plugins: yes[^3]
- Backed by: [Microsoft](https://talira.ai/orgs/microsoft.md), [.NET Foundation](https://talira.ai/orgs/dotnet-foundation.md)
- Creator: Microsoft
- Funding: Microsoft: public company (NASDAQ:MSFT); .NET Foundation: non-profit[^4][^5]

Entity Framework Core (EF Core) is Microsoft's object-relational mapper for [.NET](https://talira.ai/catalog/net-9p8d54vj.md): you work with a database through entity classes and a `DbContext`, query it with LINQ, and save changes by modifying objects, without writing most data access code. Models can be hand-coded or generated from an existing database, and EF Migrations create and evolve the schema as the model changes. Database providers cover SQL Server and Azure SQL, SQLite, Azure Cosmos DB and an in-memory database from Microsoft, with PostgreSQL (Npgsql), MySQL and MariaDB, Oracle, MongoDB and others from their makers. It's the usual data layer for [ASP.NET Core](https://talira.ai/catalog/asp-net-core-3bj7yrdc.md) apps, cross-platform and MIT licensed.

## Links

- Website: https://learn.microsoft.com/en-us/ef/core/
- GitHub: https://github.com/dotnet/efcore

## Problems it solves

- query and save database data from C# using objects instead of hand-written SQL
- write type-safe database queries in C# with LINQ
- create and evolve my database schema from my .NET model with migrations
- generate C# entity classes from an existing SQL Server or PostgreSQL database
- use the same data access code with SQL Server, PostgreSQL, MySQL or SQLite
- add a data layer to an ASP.NET Core web API
- test .NET data access code against an in-memory or SQLite database

## Features

- DbContext and entity classes as the model
- LINQ queries translated to SQL
- change tracking and saving through entity instances
- migrations to create and evolve the database schema
- reverse engineering (scaffolding) a model from an existing database
- Microsoft providers for SQL Server, Azure SQL, SQLite, Azure Cosmos DB and in-memory
- third-party providers for PostgreSQL, MySQL, MariaDB, Oracle, MongoDB, Couchbase and more
- cross-platform on Windows, Linux and macOS

## Capabilities

- Takes plugins: plan not known

## Trust

Overall: 0.50 out of 1.
Signals: backing 0.75, extensibility 0.20.

- backed by Microsoft and .NET Foundation
- created by Microsoft
- funding: Microsoft: public company (NASDAQ:MSFT); .NET Foundation: non-profit
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [.NET](https://talira.ai/catalog/net-9p8d54vj.md)

## Alternatives

- [sqlc](https://talira.ai/catalog/sqlc-7w8h0kzr.md): Compile SQL to type-safe code

## Sources

[^1]: https://github.com/dotnet/efcore/blob/main/LICENSE.txt (checked 24 Nov 2026)
[^2]: https://learn.microsoft.com/en-us/ef/core/ (checked 24 Nov 2026)
[^3]: https://learn.microsoft.com/en-us/ef/core/providers/ (checked 24 Nov 2026)
[^4]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
[^5]: https://dotnetfoundation.org/about (checked 20 Nov 2026)
