entity-framework-migrations

Azure publish: Login failed for user 'xxxxxx'

☆樱花仙子☆ 提交于 2020-08-12 01:33:14
问题 I am using .NET backend for my Mobile App of Azure. I have been using Code-First migrations for my database and done many migrations and publishes so far. Everything was nice and smooth. Then I decided to reset my SQL Server password from Azure portal. After that things started to go south. The problems that I faced after password change: 1- When I tried Add-Migration blabla in Package Manager Console, Visual Studio told me that all my previous migrations must be applied first. 2- I tried

Azure publish: Login failed for user 'xxxxxx'

拟墨画扇 提交于 2020-08-12 01:29:46
问题 I am using .NET backend for my Mobile App of Azure. I have been using Code-First migrations for my database and done many migrations and publishes so far. Everything was nice and smooth. Then I decided to reset my SQL Server password from Azure portal. After that things started to go south. The problems that I faced after password change: 1- When I tried Add-Migration blabla in Package Manager Console, Visual Studio told me that all my previous migrations must be applied first. 2- I tried