efcore 问题集

一、迁移

       ①、数据迁移

1、错误信息(附截图): Could not load assembly 'xxx.EntityFramework'. Ensure it is referenced by the startup project 'xxx.api'.

 2、处理及解决

3、解决方案平台选择AnyCpu。

        ②、

              (2.1)、

              (2.2)、

posted @ 2023-02-01 19:28  1764564459  阅读(148)  评论(0)    收藏  举报