When I run update-database -Script from the Nuget Package Manager Console, Visual studio generates a SQL script which I can run to update the database.
Is there any way to generate this SQL script in C# without running it?
That way I can show it to the user who is updating the application before updating the database.
update-database -Verbose