Data Annotation & Table Relation with Navigation Property | Entity Framework Core 9 and .NET 9 - 3/4
Автор: Think Like an Engineer
Загружено: 2025-04-01
Просмотров: 186
Описание:
In this video, we continue building our sample photo sharing app using Entity Framework Core by diving into Data Annotations and Navigation Properties.
✅ Learn how to define relationships between tables
✅ Use [Key], [Required], [ForeignKey], and [MaxLength] attributes
✅ Set up one-to-many relationships using navigation properties
✅ Manage and clean up migrations
✅ Update your database using EF Core's migration method
Chapters:
00:00 – Introduction
01:35 – Drop Databases
04:25 – Create New Database
05:38 – Create New Data Model
07:22 – Add Database to New Data Model
08:30 – Set Navigation Properties and Update the Database
10:40 – Set DataAnnotations on Data Models and Update the Database
Whether you're a beginner or looking to solidify your EF Core knowledge, this hands-on walkthrough will help you understand and implement essential EF Core features.
Commands Used:
🔹dotnet build
🔹dotnet ef database update --project project_name
🔹dotnet ef migrations add migration_name --project project_name
🔹dotnet tool install --global dotnet-ef
Related Videos:
📌 • Database Design for Photo Sharing App | Re...
📌 • Create an MSSQL Server Database using Enti...
📌 • How to Install Azure Data Studio on Mac an...
📌 • 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 like, comment, and subscribe to follow the rest of the series!
#EntityFrameworkCore #EFCore #CSharp #DotNet #ASPNETCore #DatabaseDesign #EFCoreTutorial #CodeFirst #AzureDataStudio #MSSQL #VisualStudioCode #DotNetDevelopment #BackendDevelopment #SoftwareEngineering
Повторяем попытку...

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