📜  ADO和ADO.NET之间的区别

📅  最后修改于: 2021-08-27 17:40:42             🧑  作者: Mango

1. ADO:
ADO在1996年由Microsoft引入,作为其MDAC(Microsoft数据访问组件)的组件。它基于COM(组件对象建模)。 ADO与MDAC的其他组件一起用作客户端应用程序访问数据存储的框架。它消除了了解数据库实现的必要性,并降低了处理处理数据所需的低级代码的复杂性。

2. ADO.NET:
ADO.NET是Microsoft .NET Framework的高级数据库技术,可在应用程序系统和数据库服务器之间提供通信。它是.NET Framework的一个组件,旨在处理断开连接的模型以访问数据存储中的数据。用于连接数据库服务器的某些.NET应用程序是ASP.NET Web应用程序,Windows应用程序和控制台应用程序

ADO和ADO.NET之间的区别:

S.No. ADO ADO.NET
1. It is based on COM (Component Object Modelling). It is a CLR (Common Language Runtime) based library.
2. It works only when data store is connected. It does not needs active connection to access data from data store.
3. It has feature of locking. It does not have feature of locking.
4. It access and store data from data source by recordset object. It access and store data from data source by dataset object.
5. XML integration is not feasible in ADO. XML integration is feasible in ADO.NET.
6. In ADO, data is stored in binary form. While in this, data is stored in XML.