As part of planning an Entity Framework migration, in order to debug data movement, I would often use the -Script parameter to generate the script.
I could then take
I ended up using two different Configuration classes when I run the migrations with and without the -Script parameter. In one of my Configuration classes I wrap its MigrationSqlGenerator in a custom implementation, which adds the GO statements.
Configuration
-Script
MigrationSqlGenerator
GO