我正在嘗試爲Oracle數據庫創建實體框架6模型。Visual Studio 2015:使用oracle安裝EF6
從的NuGet
https://www.nuget.org/packages/Oracle.ManagedDataAccess.EntityFramework/
安裝Oracle.ManagedDataAccess.EntityFramework
然後安裝Oracle Developer Tools for Visual Studio 2015
:
http://download.oracle.com/otn/other/ole-oo4o/ODTforVS2015_121025.exe
這裏是我的app.config:
<configSections>
<section name="oracle.manageddataaccess.client"
type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342"/>
...
<entityFramework>
<providers>
<provider invariantName="Oracle.ManagedDataAccess.Client"
type="Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version=6.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342"/>
...
但是,我在添加ADO.NET Entity Data Model
時收到以下錯誤消息:
任何想法請問?
您是否已安裝ODAC?如果是,哪個版本? –