π Get the .NET 8 Web Dev Jump-Start Course for FREE: https://dotnet8.patrickgod.com π Support me on Patreon for exclusive source code access: https://patreon.com/_PatrickGod π¦ Let's get social on Twitter/X: https://x.com/_PatrickGod π» GitHub: https://github.com/patrickgod/EntityFramework7Relationships π‘ Udemy Online Courses: π₯ Blazor E-Commerce Course: https://www.udemy.com/course/blazor-ecommerce/?couponCode=YOUTUBE π₯ Blazor Bootcamp: https://www.udemy.com/course/blazor-webassembly/?referralCode=647B4EAACD6D8E4E6872 π Join the .NET Web Academy here: https://dotnetwebacademy.com --- Table of Contents: 00:00 .NET 7 & Entity Framework 7: Mastering ALL Database Relationships 01:40 Entity Framework & SQL Server Preparations 06:33 Implement DbContext 07:45 ConnectionString 09:39 Register the DbContext 11:30 One-to-one Relationship 19:50 One-to-many Relationship 23:53 Many-to-many Relationship 29:14 Add a Controller 30:40 Add DTOs 32:42 Create a new Character 44:23 Get a single character with all relationships #DotNet #EntityFramework #PatrickGod