For SQL Server, you probably want to use ADO.NET . There are many advantages to the SqlClient namespace that you simply donβt get with any other data access technology. It is also very easy to connect to SQL Server data sources, handle errors, etc.
The SqlClient namespace is specific to SQL Server, so if you have thoughts on creating a db-agnostic application, you need to look at other parameters, such as Data.Common namespace , which contains a nice factory model that allows you to write an access code, not provider dependent
source share