摘要: 环境:.net core 在xunit中使用 UseInMemoryDatabase 做单元测试 现象:ef core 使用异步查询方法时报错。 解决参考 1. https://docs.microsoft.com/zh-cn/ef/ef6/fundamentals/testing/mocking? 阅读全文
posted @ 2020-06-04 17:02 富贵东坡 阅读(1027) 评论(0) 推荐(0) 编辑