solution: 

 update-database 命令查找连接字符是在当前启动项目中找的
确保启动项目中connectiongString配置存在.
posted on 2017-03-15 20:31  jianyi  阅读(532)  评论(0编辑  收藏  举报