久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

找不到與此版本兼容的實體框架數(shù)據(jù)庫提供程序

An Entity Framework database provider compatible with this version could not be found(找不到與此版本兼容的實體框架數(shù)據(jù)庫提供程序)
本文介紹了找不到與此版本兼容的實體框架數(shù)據(jù)庫提供程序的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

限時送ChatGPT賬號..

我有運行新創(chuàng)建的 WebAPI 2 項目的 Visual Studio Professional 2015.我想使用實體框架(首先來自現(xiàn)有數(shù)據(jù)庫的代碼)從數(shù)據(jù)庫創(chuàng)建數(shù)據(jù)模型.所以我從oracle下載了這個.

I have Visual Studio Professional 2015 running a newly created WebAPI 2 project. I wanted to create a data model from database using entity framework (code first from existing database). So I downloaded this from oracle.

ODAC 12.2c 第 1 版和適用于 Visual Studio 的 Oracle 開發(fā)人員工具 (12.2.0.1.0)

ODAC 12.2c Release 1 and Oracle Developer Tools for Visual Studio (12.2.0.1.0)

安裝后,我使用托管驅(qū)動程序成功測試連接到數(shù)據(jù)庫,并繼續(xù)執(zhí)行 EF 向?qū)?但最后我得到這個錯誤

After installation I successfully tested connected to the database using Managed driver, and proceed through the EF wizard. But at the end I get this error

我嘗試了托管和非托管驅(qū)動程序.我也嘗試添加對這些庫的引用

I tried both Managed and Unmanaged drivers. I also tried adding references to these libraries

Oracle.ManagedDataAccessOracle.ManagedDataAccess.EntityFrameworkOracle.DataAccess.EntityFrameworkOracle.DataAccess

Oracle.ManagedDataAccess Oracle.ManagedDataAcces.EntityFramework Oracle.DataAccess.EntityFramework Oracle.DataAccess

我檢查了項目正在使用的實體框架版本,它說它使用的是最新的 6.1.3

I check my version of Entity Framework the project is using and it says its using the latest 6.1.3

推薦答案

從 Nuget 添加此引用后:

after adding this references from Nuget:

Oracle.ManagedDataAccess Oracle.ManagedDataAcces.EntityFramework Oracle.DataAccess.EntityFramework Oracle.DataAccess

Oracle.ManagedDataAccess Oracle.ManagedDataAcces.EntityFramework Oracle.DataAccess.EntityFramework Oracle.DataAccess

您必須在 x86 中編譯項目,然后使用向?qū)е卦?我們在我的辦公室多次遇到您的問題,我認為這是因為項目配置了任何 Cpu"

you have to compile the project in x86 and try again with the wizard. We have had your problem at my office several times, and I think It′s caused because of having the project configured with "any Cpu"

希望能幫到你

這篇關(guān)于找不到與此版本兼容的實體框架數(shù)據(jù)庫提供程序的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

How to convert #39;2016-07-01 01:12:22 PM#39; to #39;2016-07-01 13:12:22#39; hour format?(如何將“2016-07-01 01:12:22 PM轉(zhuǎn)換為“2016-07-01 13:12:22小時格式?)
Create an Apex form with multiple pages(創(chuàng)建包含多個頁面的 Apex 表單)
UNPIVOT on multiple columns to return multiple columns(UNPIVOT 在多列上返回多列)
Oracle UNPIVOT and SYSDATE giving weird results(Oracle UNPIVOT 和 SYSDATE 給出奇怪的結(jié)果)
How to pivot a table in Oracle PLSQL?(如何在 Oracle PLSQL 中透視表?)
Unpivot columns into rows (oracle)(將列轉(zhuǎn)為行(oracle))
主站蜘蛛池模板: 午夜小电影 | 粉嫩一区二区三区四区公司1 | 黄色大片视频 | 国产一区二区小视频 | 国产一级毛片精品完整视频版 | 国产精品久久久久一区二区三区 | 亚洲视频国产视频 | 97精品超碰一区二区三区 | 涩涩操| 日本亚洲欧美 | 亚洲最大福利网 | 日本高清在线一区 | 狠狠干网站 | 国产一区二区黑人欧美xxxx | 久久国内精品 | 久久出精品 | 亚洲日本一区二区三区四区 | 亚洲永久字幕 | 午夜99| 国产一区二区成人 | 色黄视频在线 | aa级毛片毛片免费观看久 | 激情国产视频 | 亚洲国产精品视频一区 | 色资源在线观看 | 国产精品亚洲二区 | 精品视频在线观看 | 男女羞羞的网站 | 精品久久一区二区三区 | 一区二区三区精品在线 | 久久国产精品一区二区三区 | 久久久久九九九女人毛片 | 欧美一区二区精品 | 久久久久国产一区二区三区不卡 | 久久精品欧美一区二区三区不卡 | 免费视频一区二区 | 91成人精品 | www.成人久久| 欧美精品久久久久久久久久 | 黄色毛片在线观看 | 国产精品成人一区二区三区 |