entity framework - Script-Migration is not working when migration name is specified - Stack Overflow

admin2025-04-19  0

If I run Script-Migration, it correctly scripts the SQL script for all migrations.

However, if I specify the name of the migration, it will return an empty script. It seems not to find the migration.

I tried using the name I gave the migration:

And using the full name EF gives the migration in the Migrations folder and in the database:

Am I using the wrong syntax?

Thank you!

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745074850a283506.html

最新回复(0)