在dotnetcore中,startup.cs,ConfigureServices,DbContext选项缺少UseOracle() [英] In dotnetcore, startup.cs, ConfigureServices, DbContext options is missing UseOracle()

查看:458
本文介绍了在dotnetcore中,startup.cs,ConfigureServices,DbContext选项缺少UseOracle()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

"UseOracle"的选项在哪里? services.AddDbContext(options => options.useoracle()

Where is the option for "UseOracle" ? services.AddDbContext(options => options.useoracle()

我相信我已经包含了必需的DLL.

I believe I've included the required DLL's.

提供的屏幕截图: https://pasteboard.co/HuVDEfB.png

非常感谢您的帮助.

推荐答案

尝试一下

using Oracle.EntityFrameworkCore;

这篇关于在dotnetcore中,startup.cs,ConfigureServices,DbContext选项缺少UseOracle()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆