How to Implement Code-First Migrations with Entity Framework Core

preview_player
Показать описание
How to Use Entity Framework Core Code First Migrations

In this video, I will show you how to use Entity Framework Core Code First Migrations to keep a model and the database in sync.

TIMESTAMPS :
00:00 Intro
03:42 Create the database using Migration
06:37 Update the database with a Migration
07:42 Revert to previous migration
10:10 Rollback to a specific migration
12:03 Listing migrations
13:29 Raw SQL in a migration
15:12 Generates a SQL script
15:41 Outro

Where you can find me:

#efcore
Рекомендации по теме
Комментарии
Автор

This is really great! Probably the only tutorial I understood something from on Efcore. Thank you.

RMike-xqcm
Автор

This one concise tutorial pretty much answered all the questions I had to get started on properly implementing EF. Subscribed!

Old.Man.Of.The.Mountain
Автор

Very well explained and comprehensive. Thank you.

jboss
Автор

I just started learning EF, this is a great help!

IAmESG
Автор

Realy useful tutorial! Thanks a lot! Could you make a video about automated migration?

vklvgjp
Автор

Thanks for this, Will it be automatically execute in production or do we need to run any command.

techntricks