Connect to Oracle database in dotnet mvc application

前端 未结 2 1284
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-12 13:37

Oracle released a beta version driver ODP for dotnet core 2(Finally!). But I can\'t make it work. Does anybody did it? If yes, please send me the code or help me fixing this

相关标签:
2条回答
  • 2021-01-12 13:57

    As @Lesiak stated, I used the wrong package (the right one is Oracle.ManagedDataAccess.Core.dll). But that is an error someone else might fall in too. Because when you download the zip file from Oracle Link the dll name is Oracle.ManagedDataAccess.dll instead of Oracle.ManagedDataAccess.Core.dll that's error prone.

    0 讨论(0)
  • 2021-01-12 14:06

    For me, the solution was to install the Oracle.ManagedDataAccess.Core NuGet package only. I had Oracle.ManagedDataAccess installed as well and I needed to uninstall them to fix the error.

    0 讨论(0)
提交回复
热议问题