Execute Code First Migrations on Azure with Remote Connection String

守給你的承諾、 提交于 2019-12-04 18:41:56
Loren Paulsen

In Azure, I ultimately had to define connection strings for both DbContext and DbContext_DatabasePublish in order to get the migrations to execute. This MSDN post and this answer ultimately lead me to this conclusion.

I'm not sure why I'm not seeing more references to this issue though. It seems like it would be a common problem.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!