Simple play icon Course
Skills

Entity Framework Core 2: Getting Started

by Julie Lerman

This course helps those with experience in earlier versions of EF and EF Core, and developers completely new to Entity Framework. Learn how to build data models with EF Core and use EF Core to let your software interact with data in your databases.

What you'll learn

Entity Framework Core 2 is the newest version of Microsoft's O/RM for performing database persistence in .NET-based software. EF Core is a lightweight and extensible version of Entity Framework that has been written from the ground up.

Whether you are new to EF Core or looking to see how to shift your earlier EF experience to EF Core, this course can help you get started.

First, you'll learn how to define an EF Core data model to act as a bridge between your .NET objects and your database.
Next you'll learn how to interact with the data model using EF Core's various APIs.
Finally, you'll be shown how to incorporate this model into a desktop application based on the .NET Framework and a cross-platform ASP.NET Core MVC application.

By the end of this course, you will be able to build .NET framework, or .NET Core software using EF Core 2. All coding will be done in Visual Studio 2017 in a Windows environment.

Table of contents

Course Overview
1min

Course FAQ

What is Entity Framework Core?

Entity Framework (EF) Core is an open source, cross-platform version of the Entity Framework. EF Core is an object-database mapper for .NET and can serve as an object-relational mapper (O/RM).

What type of databases can Entity Framework Core 2 work with?

EF Core can work with many databases, such as:

  • SQL Database
  • SQLite
  • MySQL
  • PostgreSQL
  • Azure Cosmos DB
What will I learn in this course?

This Entity Framework Core tutorial will teach you how to build data models and let your software interact with data in your DBs. Some of the covered topics include:

  • What is Entity Framework Core?
  • Where can you build and run apps with EF Core 2?
  • How does EF Core work?
  • EF Core 2 new features
  • Creating a data model and database
  • EF Core migrations
  • Interacting with EF Core data model
  • Querying and saving related data
  • Using EF Core in your applications
Who is this course for?

This Entity Framework Core tutorial is for anyone who learn EF Core 2 for performing database persistence. If you want to shift from EF to EF Core, this course will help you get started.

About the author

Julie Lerman is a software coach with over 30 years of experience building software. As a coach, Julie provides support for DDD and architecture implementation, facilitates Event Storming workshops and domain discovery. She also provides deep dives into Entity Framework for her clients in the .NET world. Julie is a long-time Pluralsight author, Microsoft MVP, Microsoft Regional Director and Docker Captain who lives in the hills of Vermont and continues to be known as the world’s top expert in E... more

Ready to upskill? Get started