我有一个使用 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 版本。等等还是暂时别无选择?
关于c# - 无法使用 EF 5 和 VS 2015 从数据库更新模型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31946407/