2017-01-21 8 views
0

NPocoは、そのままの状態でOracleデータベースで動作するはずです。 しかし、私は、データベースオブジェクトを作成しようとすると、それは.NET Frameworkのデータプロバイダを見つけることができないと言う。NPocoのためのOracle .Net Frameworkデータプロバイダの設定

 _db = new Database("connectionStringName"); 

私は私が行うために必要な設定のいくつかの並べ替えがあります疑い。しかし、それを行う可能性のあるドキュメンテーションまたはNugetパッケージでこれを行う方法を見つけることはできません。

完全なエラーメッセージ:

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) 

答えて

0

私は、次のNuGetパッケージをインストールする必要がありました:公式OracleのODP.NETは、ドライバー

を管理
関連する問題