In Depth Entity Framework Migrations with Postgres

preview_player
Показать описание
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:

EF Migrations overview. This whole docs section is a great reference to a lot of the commands I used in this video:

EF Core Nuget package for Postgres

Follow me on social media!
Рекомендации по теме
Комментарии
Автор

Great! Thanks! Just started looking at PostgreSQL as an alternative to SQL Server

Lazzerman
Автор

Phenomenally explained! Thank you! Please make more videos, regarding other Postgres features that EF Migrations can handle (can it do triggers and storedprocs?)

sft
Автор

Great Work!, You don't know how much this video tutorial has helped me to understand the Migrations Topic Keep the good work!

edwinomargarciamendez
Автор

Great high quality explanation. Thanks!

dirkpostma
Автор

Thanks for the Video very good explanation !

JakoBowBeatz
Автор

Scripts @ 23:32 with -o and idempotent switch

saifumar
Автор

This was incredibly helpful, thank you so much!

king_and_country
Автор

hello I faced to this error how to fix

dotnet ef migrations add initialMigration

Could not execute because the specified command or file was not found.
Possible reasons for this include:
* You misspelled a built-in dotnet command.
* You intended to execute a .NET program, but dotnet-ef does not exist.
* You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.

AliyProgrammer
Автор

It was an amazing migrations tutorial. Could you please make a tutorial for how to seed in a table? looking forward to seeing it. thanks again

nusratchowdhury
Автор

Do you run postgresql on production server as linux daemon or docker container?

adam-xtte
Автор

how to call sp in PostgreSQL that returns rows ?

amnashahid