在 dotnetcore、startup.cs、ConfigureServices、DbContext 选项中缺少 UseOracle() [英] In dotnetcore, startup.cs, ConfigureServices, DbContext options is missing UseOracle()
本文介绍了在 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屋!
查看全文