Entity Framework Core Tutorials
Entity Framework Core Tutorials
Home Next
Entity Framework Core is the new version of Entity Framework after EF 6.x. It is open-
source, lightweight, extensible and a cross-platform version of Entity Framework data
access technology.
EF Core is intended to be used with .NET Core applications. However, it can also be
used with standard .NET 4.5+ framework based applications.
The following figure illustrates the supported application types, .NET Frameworks and
OSs.
https://www.entityframeworktutorial.net/efcore/entity-framework-core.aspx 1/5
11/18/2019 Entity Framework Core Tutorials
In the code-first approach, EF Core API creates the database and tables using migration
based on the conventions and configuration provided in your domain classes. This
approach is useful in Domain Driven Design (DDD).
In the database-first approach, EF Core API creates the domain and context classes
based on your existing database using EF Core commands. This has limited support in
EF Core as it does not support visual designer or wizard.
EF Core vs EF 6
https://www.entityframeworktutorial.net/efcore/entity-framework-core.aspx 2/5
11/18/2019 Entity Framework Core Tutorials
Entity Framework Core is the new and improved version of Entity Framework for .NET
Core applications. EF Core is new, so still not as mature as EF 6.
2. Data Model
4. Change Tracking
5. SaveChanges
6. Migrations
EF Core will include most of the features of EF 6 gradually. However, there are some
features of EF 6 which are not supported in EF Core 2.0 such as:
3. ObjectContext API
5. Automated Migration
9. Entity Splitting
EF Core includes the following new features which are not supported in EF 6.x:
5. Unique constraints
6. Shadow properties
https://www.entityframeworktutorial.net/efcore/entity-framework-core.aspx 3/5
11/18/2019 Entity Framework Core Tutorials
7. Alternate keys
9. Field mapping
The following table lists database providers and NuGet packages for EF Core.
MySQL MySql.Data.EntityFrameworkCore
PostgreSQL Npgsql.EntityFrameworkCore.PostgreSQL
SQLite Microsoft.EntityFrameworkCore.SQLite
In-memory Microsoft.EntityFrameworkCore.InMemory
Home Next
https://www.entityframeworktutorial.net/efcore/entity-framework-core.aspx 4/5
11/18/2019 Entity Framework Core Tutorials
ENTITYFRAMEWORKTUTORIAL
Learn Entity Framework using simple yet practical examples on EntityFrameworkTutorial.net for free. Learn
Entity Framework DB-First, Code-First and EF Core step by step. While using this site, you agree to have read
and accepted our terms of use and privacy policy.
feedback@entityframeworktutorial.net
TUTORIALS
EF Basics
EF Core
EF 6 DB-First
EF 6 Code-First
E-MAIL LIST
Subscribe to EntityFrameworkTutorial email list and get EF 6 and EF Core Cheat Sheets, latest updates, tips &
tricks about Entity Framework to your inbox.
Email address GO
https://www.entityframeworktutorial.net/efcore/entity-framework-core.aspx 5/5