I am using Code First Migrations Beta 1.
I would like to see the Migrations and SQL that will run before I actually call ‘Update-Database’ on the Package Manager Console.
Is there a command to get this information on the Package Manager Console?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Take a look at the link below and search for the section headed Generating an SQL Script.
ADO.Net Team Blog
Run the
Update-Database –TargetDatabase:"database" –Scriptcommand in Package Manager Console