In dotnetcore, startup.cs, ConfigureServices, DbCo

2019-06-10 07:04发布

问题:

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

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

Screenshot provided: https://pasteboard.co/HuVDEfB.png

Any help is much appreciated.

回答1:

Try this

using Oracle.EntityFrameworkCore;