lemongeek

Results 3 comments of lemongeek

你好,我照着以上的代码在net core 的webapi中使用使用报错; ![image](https://user-images.githubusercontent.com/7678017/45430496-06519080-b6d8-11e8-9e00-3dda0a177127.png) StartUp中 ![image](https://user-images.githubusercontent.com/7678017/45430618-503a7680-b6d8-11e8-9eed-d87a37605087.png) 调用部分: ![image](https://user-images.githubusercontent.com/7678017/45430635-60eaec80-b6d8-11e8-9054-a7f5f05d29d8.png) 请问是调用那里出的错吗?还是仅可以在mvc中controller中调用?

多谢,我尝试 了加入demo中的InitIoC ()并进行删减,并放置在步骤【注入DbContextOption】代码前。此时提示的是“未能获取到数据库上下文,请先注册数据库上下文。” 我后边继续再研究研究。

一样的被封禁一周了,应该加入了真人/机器行为识别,不能用了,可惜了,