MDAC Dependency

  • Thread starter Thread starter Rao
  • Start date Start date
R

Rao

I understand that ADO.Net has some dependency on MDAC 2.6 or later
(from MSDN documentation). Please correct me for the following:

"If I am going to use either System.Data.SqlClient OR
System.Data.OracleClient namespaces for data access, as they directly
communicate with database (without the support of respective OLE-DB
drivers), MDAC dependency can be avoided"
 
Not sure.

SqlClient is 100% native. OracleClient still requires the Oracle library. In
each case, you are not using OleDb Providers. I would assume that MDAC could
be avoided, but I have not tested whether or not any "helper" classes are
used from the MDAC. If there are, you are sunk.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
 
SqlClient actually DOES have a dependency on MDAC in .NET versions 1.0 and
1.1. Although SqlClient doesn't use oldb or odbc, it uses the network
libraries installed by MDAC to communicate with the server (that's the only
native portion of SqlClient - the rest is all managed).

Just FYI, in .NET 2.0 SqlClient will no longer depend on MDAC or any other
external component at all :)

--
Pablo Castro
Program Manager - ADO.NET Team
Microsoft Corp.

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Thank you all for the information.

--
Rao TRN

Pablo Castro said:
SqlClient actually DOES have a dependency on MDAC in .NET versions 1.0 and
1.1. Although SqlClient doesn't use oldb or odbc, it uses the network
libraries installed by MDAC to communicate with the server (that's the only
native portion of SqlClient - the rest is all managed).

Just FYI, in .NET 2.0 SqlClient will no longer depend on MDAC or any other
external component at all :)

--
Pablo Castro
Program Manager - ADO.NET Team
Microsoft Corp.

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top