简体   繁体   English

Oracle ODP.NET命名空间

[英]Oracle ODP.NET namespaces

I have downloaded last version of Oracle ODP.NET and I have observed that there are two namespaces: Oracle and OracleClient 我已经下载了Oracle ODP.NET的最新版本,我发现有两个名称空间:Oracle和OracleClient

Also for creating an Oracle connection, exists OracleConnection in both namespaces mentioned above as well as other commands like CreateCommand, etc. It seems like they are repeated in both namespaces so my doubt is: What is the difference between them? 另外,对于创建Oracle连接,在上面提到的两个命名空间中存在OracleConnection以及其他命令,如CreateCommand等。看起来它们在两个命名空间中都重复了,所以我怀疑:它们之间有什么区别? When should I use one or another? 我什么时候应该使用一个或另一个? It is a bit confusing for me. 这对我来说有点混乱。

Refer this link, it has best explanation 请参阅此链接,它有最好的解释

MSDN MSDN

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM