c# - 无法使用 EF 5 和 VS 2015 从数据库更新模型

标签 c# oracle entity-framework visual-studio

我有一个使用 Oracle 数据库和 Entity Framework 5 的 C# 应用程序。Oracle 客户端是版本 12c R1。我的应用程序使用数据库优先方法。我正在尝试使用 Visual Studio Enterprise 2015 运行该应用程序。当我访问 edmx 文件并尝试从数据库更新模型时,出现以下错误:

An exception of type 'System.ArgumentException' occurred while attempting to update from the database. The exception message is: 'Unable to convert runtime connection string to its design-time equivalent. The libraries required to enable Visual Studio to communicate with the database for design purposes (DDEX provider) are not installed for provider 'Oracle.DataAccess.Client'. Connection string: XXXXX.

当我使用 Visual Studio Ultimate 2013 时不会出现此错误。仅在 Visual Studio Enterprise 2015 上。

新版本是否存在任何已知的不兼容问题?

最佳答案

我相信这是因为还没有与 Visual Studio 2015 兼容的 ODT 版本。等等还是暂时别无选择?

Oracle Developer Tools

关于c# - 无法使用 EF 5 和 VS 2015 从数据库更新模型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31946407/

相关文章:

c# - 杀死单一服务

sql - 在一个 select 语句中使用 group by、order by 和 limit

c# - 在 Entity Framework 查询中使用 C# 函数

c# - 如何附加包含 n 到 n 关系的对象?

javascript - 未捕获的类型错误 : NaN JavaScript Sharepoint

c# - 为什么这个 .dll 在 ILSpy 中有奇怪的字母?

c# - 如何为属性创建自己的数据类型

oracle - 数据类型不一致 : expected - got CLOB for table join

java - java中oracle sql的问题

entity-framework - 使用 InMemoryDatabase 时如何禁用预加载