IT lexicon › Programming › Entity Framework Core

Entity Framework Core EF Core

Programming På svenska → Updated: 2026-07-30

Microsoft's ORM for .NET — modern rewrite of the old Entity Framework. Cross-platform, supports SQL Server, PostgreSQL, MySQL, SQLite, Cosmos DB.

v1 (2016), v8 (2023), v9 (2024). Code-First (classes → schema via migrations) is the default. LINQ queries compile to SQL. Pitfalls: included related entities can create enormous SQL queries. EF Core 7 added bulk update/delete. AOT support in EF Core 8 (for Native AOT). Competitors: Dapper (micro-ORM, faster for simple queries), Marten (PostgreSQL + event sourcing focus), NHibernate (port of Hibernate).

← Back to the lexicon