# dotnet/efcore

EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.

Repository: https://github.com/dotnet/efcore
Canonical: https://ross.abutalabs.com/products/efcore
Homepage: https://learn.microsoft.com/ef/
Language: C#
License: MIT
License Family: permissive
Topics: entity-framework, database, c-sharp, dotnet-core, dotnet-standard, dotnet-framework, orm, aspnet-product, hacktoberfest
Last push: 2026-08-26T22:42:06+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 97, longevity 100
- inputs: {"age_days": 4606, "days_push": 7, "days_rel": 22, "gap_med": 0, "n_releases_24m": 50}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14781, forks 3403 (observed 2026-08-28T04:11:07.674376+00:00)

## What it is
Entity Framework Core (EF Core) is Microsoft's modern object-database mapper for .NET, supporting LINQ queries, change tracking, updates, and schema migrations. It works with SQL Server, SQLite, PostgreSQL, MySQL, Azure Cosmos DB, and other databases through a provider plugin API.

## Use cases
- map C# classes to database tables with an ORM
- query a database using LINQ instead of raw SQL
- run database schema migrations for a .NET app
- build a data access layer for ASP.NET Core
- use SQLite or SQL Server from a .NET application
- track entity changes and persist updates automatically

## When to choose
- you're building .NET applications that need relational or Cosmos DB data access
- you want LINQ-based querying with compile-time checked queries
- you need schema migrations and change tracking out of the box
- you want a Microsoft-supported, MIT-licensed ORM with broad database providers

## When to avoid
- you need raw SQL control or extreme performance tuning (consider Dapper or ADO.NET)
- your project is not on the .NET platform
- you need a NoSQL document store other than Azure Cosmos DB without a third-party provider

## Facets
- artifact type: library
- maturity: stable
- function: orm, database, database-driver, serialization
- domain: databases, backend, web-development, developer-tools
- platform: dotnet, cross-platform, windows
- tags: entity-framework, linq, change-tracking, schema-migrations, microsoft, nuget, c-sharp, linux, macos

## Member repositories
- dotnet/efcore (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:07.674376+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:07:10.005134+00:00, confidence not recorded.
  - readme: https://github.com/dotnet/efcore (fetched 2026-08-28T04:11:07.674376+00:00, sha b85409d2a86d)
  - homepage: https://learn.microsoft.com/ef/ (fetched 2026-08-29T08:05:14.622408+00:00, sha 7dea05005817)
  - site_page: https://learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge (fetched 2026-08-29T08:05:14.626501+00:00, sha c363b2f43d4b)
  - site_page: https://learn.microsoft.com/en-us/ef/dotnet-data (fetched 2026-08-29T08:05:14.628625+00:00, sha 470313500cd5)
  - site_page: https://learn.microsoft.com/en-us/ef/core/what-is-new (fetched 2026-08-29T08:05:14.631305+00:00, sha 0de4a3db6837)
- Data as of 2026-08-30T08:39:29.467469+00:00.
