Skip to content
whichdevtool?
Categories ▾

Frameworks and UI

Frontend and full-stack frameworks Backend frameworks UI component libraries

Hosting

VPS and cloud servers App hosting and PaaS

Data

Managed databases File and object storage ORMs and database toolkits

AI

AI model APIs

Email

Transactional email APIs Email marketing and newsletters

Payments

Payments and billing

Domains and edge

Domain registrars CDN, DNS and edge security

Operations and identity

Monitoring, uptime and error tracking Auth and identity Background jobs, queues and workflows
Stacks Directory
Ctrl K

Search directory
Menu
StacksDirectory Pricing changes Glossary
VPS and cloud servers App hosting and PaaS Managed databases Transactional email APIs Email marketing and newsletters Domain registrars CDN, DNS and edge security Monitoring, uptime and error tracking Auth and identity Frontend and full-stack frameworks Backend frameworks UI component libraries AI model APIs File and object storage Payments and billing Background jobs, queues and workflows ORMs and database toolkits
  1. Home
  2. ORMs and database toolkits
  3. Entity Framework Core
EF

.NET ORM · by Microsoft (.NET Foundation)

Entity Framework Core

Microsoft's open-source ORM for .NET: LINQ queries, change tracking, migrations and providers for SQL Server, PostgreSQL, SQLite, MySQL, Oracle, Cosmos DB and more, released yearly alongside .NET.

Visit learn.microsoft.com ↗ Alternatives Open source Open source Self-hostable
learn.microsoft.com
Entity Framework Core homepage
§1

Overview

Entity Framework Core is Microsoft's cross-platform, open-source rewrite of the Entity Framework data access stack. You define entity classes and a DbContext, query with LINQ (which EF Core translates to SQL), and call SaveChanges to persist tracked changes. Models can be written by hand or scaffolded from an existing database, and EF Migrations generate schema changes from model changes.

Databases are supported through providers. Microsoft ships providers for SQL Server and Azure SQL, SQLite, Azure Cosmos DB and an in-memory database; PostgreSQL (Npgsql), MySQL/MariaDB (Pomelo and Oracle's MySQL provider), Oracle, MongoDB and others come from their own maintainers, and some commercial providers are paid. Providers usually do not work across EF Core major versions.

Releases follow the .NET schedule: EF Core 10 (for .NET 10) is supported until 10 November 2028, EF Core 8 and 9 until 10 November 2026, and EF Core 11 is scheduled for November 2026. Major updates often include breaking changes, which Microsoft documents for each release.

§2

Pricing and plans

Plan Price What you get
EF Core $0 Open source; free

EF Core is free and open source. Some third-party database providers listed in Microsoft's docs (for example Devart's and IBM's Db2 provider) are paid; the Microsoft, Npgsql, Pomelo and Oracle providers are free.

Source: learn.microsoft.com/en-us/ef/core/what-is-new/ · prices as published, excluding tax.

§3

What it does

LINQ queries
Write strongly typed queries in C#; EF Core translates them to SQL for the chosen provider.
Change tracking
Loaded entities are tracked and SaveChanges writes inserts, updates and deletes in a transaction.
Migrations
Generate, customise and apply schema migrations from model changes, or scaffold a model from a database.
Provider model
Plug-in providers for relational databases, Cosmos DB, MongoDB and others.
Raw SQL
FromSql and ExecuteSql for cases LINQ does not cover, with parameterisation.
§4

Strengths and limitations

Strengths

  • First-party Microsoft support with a clear support calendar
  • Deep integration with ASP.NET Core and the .NET toolchain
  • Wide provider ecosystem, including SQL Server, PostgreSQL and Cosmos DB
  • Mature migrations and scaffolding

Limitations

  • Major version updates often contain breaking changes
  • Providers usually do not work across major versions, so third-party providers can lag behind a new release
  • Complex LINQ can produce inefficient SQL that needs profiling
  • Several providers for DB2, Informix and SaaS sources are paid third-party products
§5

Who it suits

Good for

  • ASP.NET Core applications
  • Enterprise .NET teams on SQL Server or Azure
  • Apps that want LINQ and migrations in one package

Look elsewhere if

  • Hot paths where hand-tuned SQL is required (Dapper fits better)
  • Non-.NET stacks
§6

Alternatives to Entity Framework Core

Tool From Free option Stages
EO
Eloquent ORM Active Record ORM for Laravel
— Open source
AR
Active Record (Rails) Active Record ORM for Ruby on Rails
— Open source
SQLAlchemy Python SQL toolkit and ORM
— Open source
Da
Dapper .NET micro-ORM
— Open source
KJ
Knex.js JavaScript SQL query builder
— Open source
GO
GORM Full-featured Go ORM
— Open source

All ORMs and database toolkits →

§7

Questions

Is Entity Framework Core free?

Yes, EF Core is open source and free; only some third-party database providers are paid.

How long is EF Core 10 supported?

Until 10 November 2028, in line with .NET 10's long-term support.

Does EF Core support PostgreSQL?

Yes, through the Npgsql.EntityFrameworkCore.PostgreSQL provider maintained by the Npgsql team.

EF Core vs Dapper?

EF Core is a full ORM with LINQ, change tracking and migrations; Dapper maps results of SQL you write, with less overhead and fewer features.

Sources read for this page

  • https://learn.microsoft.com/en-us/ef/core/
  • https://learn.microsoft.com/en-us/ef/core/providers/
  • https://learn.microsoft.com/en-us/ef/core/what-is-new/
Spec sheet
From
Open source
Free tier
Free to self-host
Stages
HobbyIndieStartupScale-upEnterprise Suits hobby, indie, startup, scale-up, enterprise
Language
C# / .NET
Approach
Full ORM (LINQ, change tracking)
Databases
SQL Server, SQLite, Postgres, MySQL, Oracle, Cosmos DB
Migrations
Yes, EF Migrations generated from the model
Open source
Yes
Self-host
Yes
EU data
Not stated
Category
ORMs
Visit learn.microsoft.com ↗

To report an out-of-date price or limit, use the correction form.

whichdevtool?

Developer and cloud tools compared on price, free tier and limits, each with its source. For side projects, solo developers and small teams.

Categories

  • VPS and cloud servers
  • App hosting and PaaS
  • Managed databases
  • Transactional email APIs
  • Email marketing and newsletters
  • Domain registrars
  • CDN, DNS and edge security
  • Monitoring, uptime and error tracking
  • Auth and identity
  • Frontend and full-stack frameworks
  • Backend frameworks
  • UI component libraries
  • AI model APIs
  • File and object storage
  • Payments and billing
  • Background jobs, queues and workflows
  • ORMs and database toolkits

Research

  • Directory
  • Stacks by project
  • Developer news
  • Pricing changes
  • Glossary

Site

  • About and methods
  • How we make money
  • Suggest a tool or fix
  • Privacy
© 2026 whichdevtool.com Prices change. Each tool page links to its source. We may earn a commission when you sign up through links on this site. How we make money