适用于带有实体框架的Oracle非托管提供程序的Nuget软件包 [英] Nuget package for Oracle Unmanaged Provider with Entity Framework

查看:125
本文介绍了适用于带有实体框架的Oracle非托管提供程序的Nuget软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据Oracle的最新文档(适用于.NET的数据提供程序开发人员指南,第12c版,第1版)

According to the latest documentation from Oracle (Data Provider for .Net developer's guide, 12c Release 1)

为.NET安装Oracle数据提供程序,非托管驱动程序"一章 指出在NuGet http:/上可以使用非托管驱动程序的实体框架提供程序. /docs.oracle.com/database/121/ODPNT/InstallODP.htm#ODPNT152

The Chapter "Installing Oracle Data Provider for .NET, Unmanaged Driver" states that the entity framework provider for the unmanaged driver is available on NuGet http://docs.oracle.com/database/121/ODPNT/InstallODP.htm#ODPNT152

ODP.NET,非托管驱动程序实体框架6和代码优先功能可通过NuGet软件包获得. OUI和Xcopy安装也包括此软件包,但需要安装后配置步骤.用于ODP.NET的NuGet程序包(非托管驱动程序实体框架)可自动执行这些安装后步骤,但特定于应用程序的连接字符串设置除外.

ODP.NET, Unmanaged Driver Entity Framework 6 and Code First functionality are available through a NuGet package. OUI and Xcopy installations include this package as well, but require post-install configuration steps. The NuGet package for ODP.NET, Unmanaged Driver Entity Framework automates these post-install steps, except for the application-specific connection string settings.

我在NuGet上搜索了Oracle的官方资料,但我只从中看到3个软件包. https://www.nuget.org/profiles/Oracle

I searched for Oracle's official profile on NuGet, and I only see 3 packages from them. https://www.nuget.org/profiles/Oracle

还有很多其他人具有用于运送Oracle.DataAccess.dll的NuGet程序包,但是除了它们不是官方的事实之外,关于非托管客户端的Entity Framework驱动程序也没有什么(我是相当确定这是公然违反OTN许可协议以重新分发非托管dll的...)

There are lots of other people who have NuGet packages for shipping the Oracle.DataAccess.dll, but aside from the fact that they aren't official, there's nothing about the Entity Framework driver for the Unmanaged client (and I'm fairly sure that's a pretty blatant breach of the OTN license agreement to redistribute the unmanaged dll's...)

所以,我可能已经回答了我自己的问题...但是我有什么想念的吗?使用的是错误版本的Visual Studio还是其他? (尝试在VS2015内以及在NuGet.org上进行搜索) 是否有一个NuGet程序包,现在它已经不见了?

So, I've probably answered my own question... but is there anything I'm missing? Using the wrong version of Visual Studio or something? (tried searching within VS2015 and also on NuGet.org) Was there a NuGet package for this and now it's gone?

推荐答案

这是一个文档错误(感谢您引起我们的注意!).截至撰写本文时(2016年2月9日),目前没有官方的Oracle Unmanaged Nuget软件包可用. Nuget当前提供的Entity Framework程序包仅适用于托管驱动程序.

That's a documentation error (and thanks for bringing it to our attention!). As of this writing (2/9/2016) there's currently no official Oracle Unmanaged Nuget packages available. The Entity Framework package currently on Nuget is for the Managed Driver only.

要安装和配置ODP.NET非托管驱动程序及其Entity Framework库,请使用Oracle Installer安装或Xcopy安装:

To install and configure ODP.NET Unmanaged Driver and its Entity Framework library, please use either the Oracle Installer install, or the Xcopy install:

http://www.oracle.com/technetwork/topics/dotnet/downloads/index.html

(如果您打算使用Entity Designer,则应确保安装32位的带有用于Visual Studio的Oracle开发人员工具的ODAC")

(And if you are planning to use Entity Designer you should make sure to install the 32-bit "ODAC with Oracle Developer Tools for Visual Studio")

这篇关于适用于带有实体框架的Oracle非托管提供程序的Nuget软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆