System.Data.SqlClient和System.Data.Common之间有什么区别 [英] What is the difference between System.Data.SqlClient and System.Data.Common

查看:182
本文介绍了System.Data.SqlClient和System.Data.Common之间有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生

System.Data.SqlClient和System.Data.Common之间有什么区别

Dear Sir
What is the difference between System.Data.SqlClient and System.Data.Common

推荐答案

System.Data。通用

包含.NET Framework数据提供程序共享的类。 .NET Framework数据提供程序描述了用于访问托管空间中的数据源(例如数据库)的类的集合。



System.Data.SqlClient

封装SQL Server的.NET Framework数据提供程序。 SQL Server的.NET Framework数据提供程序描述了用于访问托管空间中的SQL Server数据库的类集合。



了解更多信息,请参阅此链接:

http://msdn.microsoft.com /en-in/library/d11h6832(v=vs.71).aspx [ ^ ]
System.Data.Common
Contains classes shared by the .NET Framework data providers. A .NET Framework data provider describes a collection of classes used to access a data source, such as a database, in the managed space.

System.Data.SqlClient
Encapsulates the .NET Framework Data Provider for SQL Server. The .NET Framework Data Provider for SQL Server describes a collection of classes used to access a SQL Server database in the managed space.

for more information,Refer this link:
http://msdn.microsoft.com/en-in/library/d11h6832(v=vs.71).aspx[^]


这篇关于System.Data.SqlClient和System.Data.Common之间有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆