Chapter 6 - Create Table in SQL with Foreign Key using Entity Framework Code First in .NET Core API

preview_player
Показать описание
Hello guys, in this video you can learn using EF Core to create migration from the existing database. I have described here that how you can use the entity framework core code-first approach to creating a new table with primary key and foreign key. I have explained by creating two tables to create an FK relationship between two tables using entity framework also created a table with foreign key & primary key constraint.

This video also relates to the below topics:
- Entity framework core migrations
- Entity framework core 3.1 code first
- Create foreign key entity framework code first
- Add foreign key entity framework core

Book for learning ASP.NET:

Laptop Used for Creating the Video:

Mic used for creating the video:

Go to the below link to subscribe to our channel:
Рекомендации по теме
Комментарии
Автор

Hi How can we make relations in applicationDbContext for both tabels and seed the data into data base

VishnuPriya-xgut
Автор

Subscribe to our channel at the below link:
@UCkvHV0-_J9qiW2W_EICHd-w
Like us on Facebook: @t

localhostok
Автор

How to create the data using foreign key?

andytan