Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

Does System.Data.SqlClient does not use any drivers installed on windows machine and has its own driver?

$
0
0

Hi All,

I was reading .NET Data Providers on Microsoft docs, it says "The .NET Framework Data Provider for SQL Server (SqlClient) uses its own protocol to communicate with SQL Server. It is lightweight and performs well because it is optimized to access a SQL Server directly without adding an OLE DB or Open Database Connectivity (ODBC) layer". Does this means System.Data.SqlClient library in .Net Framework (My Application using .Net Framework 4.6.1) doesn't depend on any drivers installed on machine instead SqlClient has its own private driver e.g. SNI and TDS Protocol suggesting based on Microsoft.Data.SqlClient.SNI.x64.dll source on github, looks like it uses wrapper classes to invoke functions. Appreciate if someone can confirm my understanding?

Suggesting because getting different opinion on usage MultiSubnetFailover=Yes. To me this is introduced in .Net Framework 4.5 and if i specify this attribute in connection string and using System.Data.SqlClient in application access SQL Server 2014 (version 12) then i don't need to worry about SQL Server Native Client driver installed in client machines since i am using System.Data.SqlClient, is this understanding correct? 


Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>