In Depth Entity Framework Migrations with Postgres

Опубликовано: 09 September 2026
на канале: ScriptBytes
14,705
326

Learn how to use Entity Framework Migrations in .Net 7. I go over how to create migrations, remove migrations, apply migrations to the database, and revert migrations.
Also see how to update the database using two alternative methods, generating a sql script, and generating a bundle.

dotnet ef cli tools reference:
https://learn.microsoft.com/en-us/ef/...

EF Migrations overview. This whole docs section is a great reference to a lot of the commands I used in this video:
https://learn.microsoft.com/en-us/ef/...

EF Core Nuget package for Postgres
https://www.nuget.org/packages/Npgsql...

Follow me on social media!
Twitter:   / scriptbytesio  
Instagram:   / scriptbytes