Entity Framework Core - The Complete Guide

Learn Entity Framework Core using Code First Methodology in ASP.NET Core 7 (.NET 7)

  • 0.0 (0 Reviews)
  • 0 Students
  • 108 Lessons
  • Bhrugen Patel - (DotNetMastery | Microsoft MVP | 300k+ Students)

Course Overview

Entity Framework is a term that goes hand by hand with ASP.NET Core. It is one of that technology that is used very often and is not understood most of the time.

This course will teach you everything you need to know about using Entity Framework Core with ASP.NET Core. The skills you will learn will help you to build and architect complex ASP.NET Core applications that make full use of Entity Framework Core with Code First. We will start with the basic fundamentals of Entity Framework Core and then we would dive into advanced concepts.

Unlike other courses, which are outdated or do not convert all the topics. I have especially taken care to keep the course updated as well as cover topics from beginner to advanced topics with Entity Framework Core.


By the end of watching this course, you'll be able to:

  • Understand the basics of Entity Framework Core

  • Use code-first migrations to push changes to the database, and learn how to manage them.

  • Override code-first conventions (using data annotations and fluent API)

  • Understand how LINQ works and how to filter data.

  • Add, update and remove objects

  • Apply best practices with Entity Framework

  • Understand relationships in Entity Framework Core

  • Bulk operations in Entity Framework Core

  • Change tracker, RAW SQL, Stored Procs, View, and much more.

See more

FAQ

FAQ area empty

Course curriculum

10 chương 108 bài học 6 giờ 6 phút 7 bài học thử miễn phí
Chương 1 Introduction
Chương 2 Migrations
  • Create ApplicationDbContext and Book Model Học thử 4:26
  • Configuring Connection String 3:13
  • Add Migration 3:37
  • Understanding Migration 2:50
  • Apply Migration 1:56
  • Migration Snapshot 1:54
  • Remove Migration and Update Existing Table 5:40
  • Assignment 1 - Add Migration 1:02
  • Remove Nullable 1:40
  • Assignment 1 - Solution 2:10
  • Nullable Updates to Table 2:00
  • Renaming Column 2:16
  • When to Add Migration? 4:06
  • Rolling back to Old Migrations 2:21
  • Reverting back and Deleting Migration 4:08
  • More Commands 1:49
  • Seed Data Using Migration 2:32
Chương 3 Data Annotations
  • Update Table and Column Name 2:32
  • Key and Required Data Annotations 3:44
  • MaxLength and NotMapped 2:24
  • EF Core Power Tools 1:58
  • Assignment 2 - Add Models and Tables 2:16
  • Assignment 2 Solution - Add Models and Tables 3:18
Chương 4 Relations in EF Core
  • One to One 1:36
  • Demo - One to One 5:26
  • Correcting "One to One" Relation 1:36
  • "One to Many" Relation 1:01
  • Demo - "One to Many" and Apply Migrations 2:54
  • Demo - One to Many 5:23
  • Many to Many - Skip Mapping Table 3:35
  • Many to Many - Manual Mapping Table 6:32
  • Relation Mapping Summary 1:53
Chương 5 Fluent API
  • Setup Models for Fluent API 4:27
  • Table and Column Name in Fluent API 4:29
  • Required and Primary Key with Fluent API 2:17
  • Not Mapped and Max Length with Fluent API 2:53
  • Assignment 3 - Fluent API 0:40
  • Assignment 3 Solution - Fluent API 2:42
  • "One to One" Relation 4:14
  • "One to Many" relation 3:30
  • "Many to Many" - Skip Mapping Table 2:16
  • "Many to Many" Manual Table 4:11
  • How Smart EF Core is? 2:32
  • Organize Fluent API 7:54
Chương 6 Filtering Query
  • Database Helper Methods 3:07
  • Get All Books 3:23
  • Creating Book 3:48
  • Logging Query 3:11
  • First and First or Default 3:49
  • Filter Using Where 3:56
  • FirstOrDefault 3:07
  • Find 1:34
  • Single and SingleOrDefault 3:34
  • Contains, Like, and Aggregation 3:08
  • Deferred Execution Overview 2:26
  • Sorting Data 3:53
  • Pagination Methods 2:03
  • Update in EF Core 4:43
  • Deleting Record in EF Core 1:19
  • Async Methods 2:17
Chương 7 EF Core CRUD
  • Setup EF Core in Web Project 6:16
  • Seed Category and Logging in EF Core 4:35
  • Retrieve using EF Core 4:30
  • Create and Update Get Action Method 3:24
  • Create and Update Category EF Core 5:14
  • Delete Category 2:16
  • Assignment 4 - Code Should not Throw Exception 0:32
  • Assignment 4 - Solution - No Exception Thrown 0:55
  • Bulk Insert 6:43
  • Bulk Remove 3:13
  • Setup Author and Publisher Views 5:17
  • Assignment 5 - Publisher and Author 1:22
  • Assignment 5 - Solution - Publisher and Author CRUD 3:28
Chương 8 Book Managment
  • List all Books 2:17
  • Projections in EF Core 6:47
  • Book Upsert View 1:12
  • Upsert and Delete in Action 3:19
  • Explicit Loading in EF Core 6:01
  • Load Book Details View 2:28
  • Book Details in Action 4:04
  • Correct Way of using Book Details 4:06
  • Eager Loading 4:54
  • Deferred Execution 4:05
  • IQueryable vs IEnumerable 3:47
Chương 9 Book and Author Assignment
  • Book Author VM 5:04
  • NOT IN LINQ Clause 4:16
  • Assign Author to Book 3:26
  • Remove Author from Book - "Many to Many' Relation 3:06
  • Multi-Level Explicit Loading 4:44
  • Eager Loading on Fire 2:42
  • Lazy Loading Related Data 5:14
  • Summarize Loading of Related Data 1:06
Chương 10 Advance Concepts
  • Change Tracker Demo 5:45
  • Tracking Vs No Tracking 3:22
  • Create View and Stored Proc 6:10
  • Views in Action 1:49
  • Raw SQL 3:56
  • Executing Stored Proc 2:50
  • Bonus - Change Schema and Table Name for .NET Identity (Youtube Video) 11:19

Requirment

  • Basic knowledge of .NET Core

  • Basic knowledge of c# / SQL

Outcomes

  • Entity Framework Core

  • Migrations in Entity Framework

  • Fluent API

  • Data Annotations

  • Best practices with Entity Framework Core

  • Relationships in Entity Framework Core

  • Bulk operations in Entity Framework Core

  • Change tracker, RAW SQL, Stored Procs, View, and much more.

Instructor

...
Bhrugen Patel - (DotNetMastery | Microsoft MVP | 300k+ Students)

0.0

  • ... 0 Student
  • ... 5 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all