Entity Framework Core

Welcome to Entity Framework Core Documentation

Entity Framework Core (EF Core) is a modern, cross-platform, and extensible object-relational mapper (ORM) for .NET. It allows developers to work with databases using .NET objects, eliminating the need for most of the data-access code they typically need to write.

What is Entity Framework Core?

EF Core provides a set of APIs that enables developers to manage the data access logic of their applications. Key features include:

  • Mapping .NET objects to database tables.
  • Executing LINQ queries against the database.
  • Managing database schema changes with Migrations.
  • Support for various database providers (SQL Server, PostgreSQL, MySQL, SQLite, etc.).
  • Change tracking and concurrency handling.

Getting Started

Begin your journey with EF Core by following our comprehensive getting started guides and tutorials. Learn how to set up your project, configure your data model, and perform basic data operations.

Core Concepts

Understand the fundamental building blocks of EF Core, including DbContext, DbSet, and entities.

Key Areas of Focus

Explore the core functionalities of Entity Framework Core:

Data Modeling

Learn how to define your data models using Plain Old CLR Objects (POCOs) and configure relationships, primary keys, and constraints.

Querying Data

Discover how to retrieve data from your database using LINQ to Entities, including filtering, sorting, and joining.

Saving Data

Master the techniques for adding, updating, and deleting data in your database efficiently.

Learn More

Dive deeper into advanced topics like performance optimization, database migrations, and leveraging specific database provider features.

Database Migrations

Understand how to manage and evolve your database schema over time.

Performance Tuning

Tips and strategies to ensure your EF Core applications perform optimally.