I’ve sometimes needed to generate a specific SQL Script to apply a specific Entity Framework migration to my database.
This post is mostly for my record of how to do this, and here is the link to where I found the solution. It’s near the bottom of the page. One day I will re-write the instructions here in a cleaner format, but for this will help me find it again, and maybe anyone else who is looking.
Here’s the link: entity-framework-migrations-cheat-sheet