This tutorial is about creating a complex data model. It presents the following points:
Customize the Data model
Make changes to Student entity
Create Instructor entity
Create OfficeAssignment entity
Modify Course entity
Create Department entity
Modify Enrollment entity
Update the database context
Seed database with test data
Update the database
See db diagram in MSSQL Management Studio
Execute SQL in MSSQL Management Studio
It is the continuation of these tutorials:
C# - Get started with EF Core in an ASP.NET MVC web app ( • C# - Getting Started - ASP.NET MVC with EF... )
C# - Implement CRUD Functionality - ASP.NET MVC with EF Core ( • C# - Implement CRUD Functionality - ASP.NE... )
C# - Add sorting, filtering, and paging - ASP.NET MVC ( • C# - Add sorting, filtering, and paging - ... )
C# - Migrations - ASP.NET MVC with EF Core - ( • C# - Migrations - ASP.NET MVC with EF Core )
VitoshAcademy.com:
https://www.vitoshacademy.com/c-creat...
Microsoft.Com Tutorial:
https://docs.microsoft.com/en-us/aspn...
Initial code (GitHub):
https://github.com/Vitosh/ASP/tree/ma...
Code at the end (GitHub):
https://github.com/Vitosh/ASP/tree/ma...