Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Core
  3. Entity Framework Core

Entity Framework Core

MITC#v10.0.10

A modern object-database mapper for .NET that supports LINQ queries, change tracking, updates, and schema migrations.

Visit WebsiteGitHubGitHub
14.8k stars3.4k forks0 contributors

What is Entity Framework Core?

Entity Framework Core is an open-source object-relational mapper (ORM) for .NET that enables developers to work with databases using .NET objects. It simplifies data access by supporting LINQ queries, automatic change tracking, and schema migrations, reducing the need for manual SQL. It works with a wide range of databases, including SQL Server, SQLite, PostgreSQL, and Azure Cosmos DB.

Target Audience

.NET developers building data-driven applications, such as web APIs, desktop apps, or microservices, who want to simplify database interactions and reduce boilerplate code.

Value Proposition

Developers choose EF Core for its seamless integration with .NET, LINQ support for type-safe queries, and robust tooling for migrations and change tracking. It offers a balance of productivity and performance, with extensibility for custom database providers and advanced scenarios.

Overview

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

Use Cases

Best For

  • Building .NET web APIs with SQL Server or PostgreSQL backends
  • Developing cross-platform applications that need to support multiple databases
  • Managing database schema changes over time with code-first migrations
  • Simplifying data access layers in enterprise .NET applications
  • Working with Azure Cosmos DB in .NET using a familiar ORM pattern
  • Rapid prototyping of data-driven applications with minimal SQL

Not Ideal For

  • High-performance applications where raw SQL latency is critical, such as financial trading platforms or real-time gaming backends.
  • Projects that heavily rely on database-specific features like advanced stored procedures or custom SQL extensions not fully supported by EF Core providers.
  • Simple scripts or microservices that only require basic CRUD operations and can use lighter alternatives like Dapper or direct ADO.NET.

Pros & Cons

Pros

LINQ Query Integration

Enables writing type-safe database queries directly in C# using LINQ, reducing SQL injection risks and improving code maintainability, as highlighted in the README's basic usage examples.

Cross-Platform Database Support

Works with SQL Server, SQLite, PostgreSQL, Azure Cosmos DB, and others via provider plugins, offering flexibility for diverse application environments, as listed in the README's key features.

Automatic Change Tracking

Tracks entity changes and persists them automatically, simplifying update operations and minimizing manual data-access code, demonstrated in the README's insertion and update snippets.

Schema Migration Tooling

Provides code-first migrations for managing database schema evolution over time, ensuring consistency between code and database, as mentioned in the README's key features.

Cons

Performance Overhead

The ORM abstraction can generate inefficient SQL or introduce latency in high-throughput scenarios, often requiring manual query optimization or batching to mitigate.

Provider Feature Gaps

Not all database providers support every EF Core feature equally, leading to inconsistencies when switching databases or using advanced database-specific functionalities.

Complex Setup for Advanced Use

Configuring complex relationships, concurrency control, or custom mappings can be intricate and error-prone, with a steeper learning curve beyond basic CRUD operations.

Frequently Asked Questions

Quick Stats

Stars14,751
Forks3,402
Contributors0
Open Issues2,312
Last commit12 hours ago
CreatedSince 2014

Tags

#hacktoberfest#orm#database#linq#sql-server#data-access#aspnet-product#migrations#dotnet#dotnet-standard#dotnet-core#postgresql#sqlite#dotnet-framework#c-sharp#entity-framework

Built With

.
.NET
C
C++

Links & Resources

Website

Included in

Core21.2k
Auto-fetched 3 hours ago

Related Projects

DapperDapper

Dapper - a simple object mapper for .Net

Stars18,357
Forks3,669
Last commit2 months ago
EFCore.BulkExtensionsEFCore.BulkExtensions

Entity Framework EF Core efcore Bulk Batch Extensions with BulkCopy in .Net for Insert Update Delete Read (CRUD), Truncate and SaveChanges operations on SQL Server, PostgreSQL, MySQL, SQLite, Oracle

Stars3,994
Forks637
Last commit23 days ago
querybuilderquerybuilder

SQL query builder, written in c#, helps you build complex queries easily, supports SqlServer, MySql, PostgreSql, Oracle, Sqlite and Firebird

Stars3,371
Forks526
Last commit3 months ago
Pomelo.EntityFrameworkCore.MySqlPomelo.EntityFrameworkCore.MySql

Entity Framework Core provider for MySQL and MariaDB built on top of MySqlConnector

Stars2,972
Forks415
Last commit11 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub