Entity Framework Core Part 1

Published: 16 April 2020
on channel: Microsoft Visual Studio
34,888
691

In this episode, Robert is joined by Phil Japikse for part 1 of a 5 part series on Entity Framework Core. Aimed at folks new to EF Core, Phil shows how to start with an existing SQL Server database, create entities/objects for each table and then how to perform basic CRUD operations on the data.

In this episode, we scaffold the DbContext and the Entities from the Northwind Database, discuss navigation properties and relationships.

Find the sample code at https://github.com/skimedic/presentat....

Learn more about Entity Framework Core at https://aka.ms/vstefcoredocs.

Episode list:

Part 1: Working with Existing Databases (this episode).

Part 2: Change Tracking (   • Entity Framework Core Part 2  ). Change Tracking is one of the most compelling reasons to use an object-relational-mapper (ORM) like EF Core. In this episode we discuss how the change tracker works, see it in action, as well as load data outside of the change tracker.

Part 3: Basic Queries (   • Entity Framework Core Part 3  ). This episode covers querying data using EF Core. We discuss the basics of Where clauses, retrieving single items or lists of items, as well as when queries actually execute.

Part 4: Querying Related Data and Using Projections (   • Entity Framework Core Part 4  ). Querying related data is simple in EF Core. In this episode we demonstrate creating joins in our LINQ queries with Include and ThenInclude. We also discuss how you use projections to shape the queried data into other objects, anonymous or strongly typed.

Part 5: Putting the CUD into CRUD (   • Entity Framework Core Part 5  ). Wrapping up our starter series on EF Core, this episode covers adding, updating, and deleting data.


Watch video Entity Framework Core Part 1 online without registration, duration hours minute second in high quality. This video was added by user Microsoft Visual Studio 16 April 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 34,888 once and liked it 691 people.