It always bothers me how things could be automated better if people just put in a little more thought. For example, where I work, we use both entity framework and raw SQL scripts. A common chore is to delete all migrations, delete the database, run "add-migration SetupDB", "update-database -script", and save the script (with some added boilerplate) in a specific folder However, the "update-database -script" command d…
I'm sure with some clever thought, you might even be able to use a GUI scripting program to work with the VS window. I'm thinking of a series of keyboard shortcuts to reliably set the state of the VS window to where you can script a mouse click in the appropriate spot and then more keyboard shortcuts to copy and save the output.