Skip to content

Instantly share code, notes, and snippets.

@robertgreiner
Created May 10, 2012 17:50
Show Gist options
  • Save robertgreiner/2654722 to your computer and use it in GitHub Desktop.
Save robertgreiner/2654722 to your computer and use it in GitHub Desktop.
Apply SQL Azure Migrations
Update-Database -StartUpProjectName "ToTheCloud.Infrastructure" -ConnectionString "Server=tcp:<server_name>.database.windows.net,1433;Database=<database_name>;User ID=<db_user_name>@<server_name>;Password=<password>;Trusted_Connection=False;Encrypt=True;MultipleActiveResultSets=True;Max Pool Size=100;" -ConnectionProviderName "System.Data.SqlClient"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment