C#/ Oracle:Connect [英] C#/Oracle: Connect

查看:131
本文介绍了C#/ Oracle:Connect的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在试图找到如何连接一个c#程序与一个oracle 10g db。所有的代码示例,我发现总是使用的.net框架的ado.net oracleclient(不推荐使用 - >不好)或system.data.ado,它显然使用数据源(odbc) - >不允许使用,或者oracle开发工具odt(像odbc?),它支持olny visual studio 2005 for 10g,并且只有11g for vs 2010 ...有任何连接方式,像使用delphi(devart,odac)之前我被告知要研究连接c#和oracle的可能性?

i've been trying to find out how to connect a c# program with an oracle 10g db. all code examples i found always used either ado.net oracleclient of .net-framework (which is deprecated -> not good), or system.data.ado, which apparently uses a data source (odbc) -> not allowed to use, or the oracle developer tools odt (like odbc?), which support olny visual studio 2005 for 10g and only 11g for vs 2010... is there any way to connect, like it is possible with delphi (devart, odac), which ive used before i was told to look into the possibilities of connecting c# and oracle?

推荐答案

我认为最好的方法是使用 ODP.NET 在oracle数据库上执行您的操作。

I think the best way would be to use ODP.NET to perform your actions on oracle database.

这也可能是一个有趣的阅读

This could also be an interesting read for you

这篇关于C#/ Oracle:Connect的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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