Entity Framework Core 3.1: Getting Started
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 3.1, use EF Core to let your software interact with data in your databases and incorporate EF Core in your automated tests.
What you'll learn
Learn from the world's top expert to get up to speed with EF Core 3.1. In this course, Entity Framework Core: Getting Started, you will gain an understanding of how to build data models with EF Core 3.1, use EF Core to let your software interact with data in your databases and incorporate EF Core in your automated tests. First, you will learn how to build and interact with data models. Then, you will discover how to set up logging to gain insight into how EF Core is interacting with your database. Finally, you will explore how to get EF Core to use your own database logic and use EF Core in tests and ASP.NET Core apps. By the end of this course, you will be able to use and benefit from EF Core 3.1.
Table of contents
- Version Check 0m
- Introduction and Course Overview 3m
- Module Overview 1m
- What is Entity Framework Core? 3m
- Getting the Correct Versions of .NET, SQL Server & Visual Studio for This Course 2m
- Setting up the Solution 5m
- Adding EF Core with the NuGet Package Manager 3m
- Creating the Data Model with EF Core 3m
- Specifying the Data Provider and Connection String 3m
- A Sneak Peek at Writing and Reading Data 4m
- Review and Resources 1m
- Introduction and Overview 1m
- Understanding EF Core’s Many-to-Many Mapping 3m
- Setting Up the Many-to-Many Relationship 3m
- Adding a One-to-One Relationship 1m
- Visualizing How EF Core Sees Your Model 3m
- Controlling Table Names with Mappings 2m
- Running Migrations for the Model Changes 1m
- Review and Resources 2m
- Introduction and Overview 2m
- Looking at SQL Built by EF Core 3m
- Adding Logging to EF Core’s Workload 3m
- Benefiting from Bulk Operations Support 4m
- Understanding the Query Workflow 4m
- Filtering in Queries 5m
- Aggregating in Queries 3m
- Updating Simple Objects 4m
- Deleting Simple Objects 2m
- Persisting Data in Disconnected Scenarios 4m
- Enhancing Performance in Disconnected Apps with No-Tracking Settings 3m
- Review and Resources 2m
- Introduction and Overview 1m
- Inserting Related Data 5m
- Eager Loading Related Data 4m
- Projecting Related Data in Queries 4m
- Loading Related Data for Objects Already in Memory 3m
- Using Related Data to Filter Objects 2m
- Modifying Related Data 4m
- Creating and Changing Many-to-Many Relationships 4m
- Querying Across Many-to-Many Relationships 1m
- Persisting Data in One-to-One Relationships 5m
- Querying One-to-One Relationships 1m
- Working with a Relationship that has Minimal Properties 2m
- Review and Resources 2m
- Introduction and Overview 1m
- Adding the ASP.NET Core Project 4m
- Adding a Samurai Controller to the Project 3m
- Wiring up the ASP.NET Core App with the Our DbContext 9m
- Running the Controller to See the Output 2m
- Exploring and Debugging Insert, Update & Delete Controller Methods 6m
- Review and Resources 2m
- Intro 2m
- A Very Quick Testing Overview 2m
- Understanding What We Mean by “Testing EF Core” 2m
- Creating Your First Test and Using It Against the Database 4m
- Exploring Test Results & Performance Considerations 3m
- Using the InMemory Provider in Place of a Database Provider 3m
- Writing Your First Test with the InMemory Provider 4m
- Refactoring and Testing Some Console App Logic 5m
- Re-using an InMemory Provider Database 2m
- Testing EF Core in an ASP.NET Core App 3m
- Testing the API’s DbContext Configuration 2m
- Review and Resources 3m