EF Migrations migrate.exe generate script

Viewed 6287

I'm playing around with Entity framework and continuous builds. So far i'm able to run a migration or series of migrations without any problem by using migrate.exe and the appropriate arguments.

However, i've hit trouble when trying to get migrate.exe to kick out a script, rather than perform the migration, in the same way as I could get by running

update-database -TargetMigration TestMigration -script

from within Package Manager Console in Visual Studio.

Is there currently a way to do this?

Thanks.

4 Answers
Related