Differences between ADO and ADO. NET

Source: Internet
Author: User

Overview

ADO and ADO. NET are two data access methods. ADO. NET uses the offline method. when accessing data, ADO. NET uses XML to make a copy of the data. The database connection of ADO. NET must be online during this time. While ADO uses the COM technology, this requires that the data type used must comply with the COM specification, while ADO. NET is based on the XML format, and the data types are more abundant and do not need to be converted due to the COM orchestration, thus improving the overall performance.

Architecture chart

Detail comparison

ADO

ADO. NET

Data is stored as A Recordset

Data is stored as Dataset

Data in Recordset comes from multiple

Table, which is displayed in one table.

Dataset saves each table

Stored as a separate entity of a datatable object

Perform sequential processing in the table

Control can be transferred from one row of the table to another.

Easy access to databases

Provides intermittent access to the database

The data type must be converted to COM first.

Data Type before you can

Inter-Transmission

Dataset is transmitted in XML format

Summary

ADO. NET provides an Optimized Data Access Model for the. NET architecture. It is similar to the COM-based ADO. It is also because ADO. NET is based on the XML format that the data type is richer and does not need to be converted due to the COM orchestration, thus improving the overall performance.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.