ASP.NET MVC项目使用sqlsugar并且需要连接oracle数据库时,报以下错误:
网上看到的原因:sqlsugar的Oracle.ManagedDataAccess版本冲突了
如何解决?
如果使用nuget下载了Oracle.ManagedDataAccess这个包,需要先将这个包卸载掉。
去到sqlsugar官网
把源码下载下来
然后在项目上右键添加引用,引用这个dll即可
ASP.NET MVC项目使用sqlsugar并且需要连接oracle数据库时,报以下错误:
网上看到的原因:sqlsugar的Oracle.ManagedDataAccess版本冲突了
如何解决?
如果使用nuget下载了Oracle.ManagedDataAccess这个包,需要先将这个包卸载掉。
去到sqlsugar官网
把源码下载下来
然后在项目上右键添加引用,引用这个dll即可