如何选择.NET应用程序的Oracle供应商? [英] How to choose an Oracle provider for .Net application?

查看:222
本文介绍了如何选择.NET应用程序的Oracle供应商?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图弄清楚什么是一个(现有)ASP.Net应用程序连接到Oracle数据库中读取它的字典信息的最佳方式。

I am trying to figure out what is the best way to connect an (existing) ASP.Net application to an Oracle database to read its dictionary information.

有有太多的可能性:


  • MS数据提供程序的Oracle(需要8.1.7,命名空间System.Data.OracleClient的)

  • 的Oracle数据提供.NET(需要9.2,命名空间Oracle.DataAccess)

  • Oracle提供的OLE DB

  • MSDASQL和ODBC

  • MS Data Provider for Oracle (requires 8.1.7, namespace System.Data.OracleClient)
  • Oracle Data Provider for .NET (requires 9.2, namespace Oracle.DataAccess)
  • Oracle Provider for OLE DB
  • MSDASQL and ODBC

由于我目前的应用程序使用MSSQL服务器,其它选项是:

As my current app uses MSSQL server, further options would be:


  • 链接服务器,通过server..user.object

  • 通过OPENROWSET链接服务器

有一对夫妇对等类似主题的问题,但只有一些已经接受了答案。

There are a couple of questions on similar topics on SO, but only some have accepted answers.

什么是与每一个你的经验驱动程序?他们有什么利弊?

What's your experience with each of the drivers? What are their pros and cons?

当然,甲骨文推荐ODP.Net。是9.2版本(或更高版本)的问题今天要求?

Of course Oracle is recommending ODP.Net. Is the requirement of version 9.2 (or higher) a problem today?

推荐答案

我也建议ODP.NET。选择最新的供应商( http://www.oracle.com/technology/tech/windows/odpnet /index.html )。它可以与Oracle 9.2数据库或者数据库的新版本进行连接。

I too recommend ODP.NET. Choose the latest provider (http://www.oracle.com/technology/tech/windows/odpnet/index.html). It can connect with an Oracle 9.2 database or a newer release of the database.

MS数据提供甲骨文是非常有限的。你不能例如和用户定义类型数组。以及为什么微软会提供连接到Oracle良好的支持?

The MS Data Provider for Oracle is very limited. You can't work with arrays for example and user defined types. And why would Microsoft provide good support for connecting to Oracle?

您还可以检查出devart的提供者:的http:// www.devart.com/dotconnect/oracle/ 。它支持实体框架。

You can also check out the provider of devart: http://www.devart.com/dotconnect/oracle/ . It supports the entity framework.

这篇关于如何选择.NET应用程序的Oracle供应商?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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