It explains how to create foreign key on SQL Server database table with Entity Framework Code-First Approach
It explains how to create database with Entity Framework Core Code First Approach using Microsoft Visual Studio 2022