The week, James is joined by Brice Lambson, Senior Software Engineer on the Entity Framework team to talk in depth about migrations for your database. When do you need them? How do you run them? How do you maintain them in the long run? Brice breaks it all down.
00:00 - Intro & Brice from the EF Core team
01:30 - What are Database Schema Migrations?
03:40 - Why do I need migrations?
05:20 - Code first or database first?
08:30 - Getting started with EF Core
12:30 - Our first EF Core migration
19:40 - What is in a migration?
22:30 - Remove migrations & required fields
26:00 - Update migrations
32:11 - Running migrations in production
35:20 - Wrap-up, tips & tricks
Links:
EF Docs- https://docs.microsoft.com/ef
EF Core on MS Learn - https://docs.microsoft.com/learn/modu...
SQLite Toolbox - https://marketplace.visualstudio.com/...
DbUp - https://dbup.readthedocs.io
Fluent Migrator - https://fluentmigrator.github.io
#efcore #entityframework #dotnet
🙋♀️🙋♂️ Get your questions answered on the Microsoft Q&A for .NET: https://aka.ms/dotnet-qa
🏫 Learn C#, F#, and .NET with free self-guided learning from Microsoft Learn: https://aka.ms/learndotnet
Sur cette page du site, vous pouvez voir la vidéo en ligne Entity Framework Migrations Explained durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur dotnet 04 mai 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 39,261 fois et il a aimé 744 téléspectateurs. Bon visionnage!