Ado.NET新增的两个重要命名空间(转贴)
doni 2002-07-23 11:17:39 大家都知道,ADO.NET提供两个命名子空间:
System.Data.SqlClient
System.Data.OleDb
他们分别是对MS SQL Server和其他具有OleDb数据源的数据库
但为了使效率和功能提高,微软陆续推出了另外两套命名空间:
Microsoft.Data.Odbc(2002-01-30日发布)
System.Data.OracleClient(2002-07-17日发布)
第一个面向所有具有odbc驱动程序的数据库
第二个专门针对Oracle数据库,可能是用于改善OleDb对Oracle访问数据性能不佳的诟病。估计能够达到SqlClient对SQL Server的性能。
下面是MSDN(网络)中OracleClient.net的简述:
Microsoft .NET Data Provider for Oracle
The Microsoft® .NET Framework Data Provider for Oracle is an add-on component to the Microsoft .NET Framework that provides access to an Oracle database using the Oracle Call Interface (OCI) as provided by Oracle Client software. Oracle 8i Release 3 (8.1.7) Client or later must be installed for this provider to function.
NOTE: If the .NET Framework (included as part of Microsoft Visual Studio® .NET) is not installed, the setup for this download will fail. As part of the setup for this download, the System.Data.OracleClient namespace is added to the Global Assembly Cache.
下载链接 <a href="http://download.microsoft.com/download/dasdk/Install/1.0/W98NT42KMeXP/EN-US/oracle_net.msi ">oracle.net</a>
<p> </p>
<a href="http://download.microsoft.com/download/dasdk/Install/1.0.4030.0G/W98NT42KMeXP/CN/odbc_net.msi">odbc.net</a>