Create a MSSQL Database with Table Relationship using Entity Framework Core Fluent API in NET9 - 4/4
Автор: Think Like an Engineer
Загружено: 2025-04-07
Просмотров: 99
In this video, we take our database design to the next level using Entity Framework Core's Fluent API. You'll learn how to define relationships, configure cross tables, and manage database behaviors in a clean, scalable, and centralized way.
What you’ll learn in this video:
✅ How to use Fluent API in EF Core for advanced configuration
✅ One-to-many and many-to-many relationships using navigation properties
✅ Managing cross tables like Like, Message, and Follow
✅ The differences between data annotations and the Fluent API
✅ How to prevent errors with cascade delete rules
✅ Viewing and verifying your database design with DBeaver and dbdiagram.io
Chapters:
00:00 - Introduction
02:46 - Open Existing Project
03:06 - Run MSSQL Server on Docker
03:18 - Connect to Database Using DBeaver
04:08 - Drop Existing Database
05:34 - Create User and Post Tables
08:17 - Create Like Table
11:05 - Create Message Table
14:44 - Create Comment Table
17:13 - Create Follow Table
Commands Used:
🔹dotnet ef database update --project project_name
🔹dotnet ef migrations add migration_name --project project_name
Related Videos:
📌 • Database Design for Photo Sharing App | Re...
📌 • Create an MSSQL Server Database using Enti...
📌 • How to Install DBeaver on Mac and Connect ...
📌 • Install Docker on Mac & RDBMS on Docker | ...
📌 • C# with Visual Studio Code on Mac | Set Up...
📌 • How to Install Visual Studio Code on Mac |...
More from us:
📌Essential Mac Software Installation Guides: • Essential Mac Software Installation Guides
📌 MacOS Tips and Tricks: • MacOS Tips & Tricks | Apple Ecosystem
📌 C#: • C#
📌 Apple Ecosystem: • Плейлист
📌 Database Design & Entity Framework Core: • C# | Database Design & Entity Framework Co...
📚 Don’t forget to check out the related videos on Docker, DBeaver, and our previous EF Core setup — linked in the video!
👍 Like, 🔔 Subscribe, and 💬 comment if you have questions or want more tutorials like this!
#EntityFrameworkCore #EFCore #FluentAPI #DotNet #CSharp #DatabaseDesign #ASPNetCore #BackendDevelopment #DBeaver #MSSQL #DataAnnotations

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: