How to Implement Code-First Migrations with Entity Framework Core

Published: 06 March 2022
on channel: Tech With Pat
9,100
186

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.

Subscribe: https://www.youtube.com/c/TechWithPat...
Buy me a coffee: https://www.buymeacoffee.com/itsmepat...

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:
💻 Github: https://github.com/techwithpat
🌐 Website: https://www.techwithpat.com
🕴️ LinkedIn:   / patrick-tshibanda-431017135  

#efcore


On this page of the site you can watch the video online How to Implement Code-First Migrations with Entity Framework Core with a duration of hours minute second in good quality, which was uploaded by the user Tech With Pat 06 March 2022, share the link with friends and acquaintances, this video has already been watched 9,100 times on youtube and it was liked by 186 viewers. Enjoy your viewing!