solution: update-database 命令查找连接字符是在当前启动项目中找的 确保启动项目中connectiongString配置存在. 相关文章: 2022-01-21 2021-09-18 2021-10-02 2022-12-23 2022-12-23 2021-05-03 2021-11-02 2022-12-23