NPoco should work for Oracle database out of the box. But when I try to create the Database object it says it cannot find the .Net Framework Data provider:
_db = new Database("connectionStringName");
I suspect there's some sort of configuration I need to do. But can't find how to do this in the documentation or any Nuget packages that might do it.
Full error message:
System.ArgumentException: System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed..
Result StackTrace:
at System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName)
at NPoco.Database..ctor(String connectionStringName, Nullable`1 isolationLevel, Boolean enableAutoSelect)
at NPoco.Database..ctor(String connectionStringName, Boolean enableAutoSelect)
at NPoco.Database..ctor(String connectionStringName)
我必须安装以下NuGet软件包:官方Oracle ODP.NET托管驱动程序
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.