Ado. NET tutorial (i)

Source: Internet
Author: User

1. What is ADO?

Simply speaking,ADO. NET is a set of technologies that allow. NET developers to interact with data in a standard, structured, and even non-connected way .

The full name of ADO is ActiveX Data Objects, which is an early (. NET has not yet been implemented) the components that developers use to access data. With. NET of development, ADO. NET shun its naturally with its remarkable superiority gradually replace ADO. Technically speaking, ADO uses the OLE DB interface and is based on Microsoft's COM technology, and ADO has its own ADO-based Microsoft. NET Architecture.

Although most new. NET-based applications will be written using ADO,. NET programmers can still use ADO through the. NET COM Interoperability service.

3. Understanding the core components of ADO

The System.Data namespace provides different types of ADO, which are both well-defined and collaborative in providing tabular data access services. The class library contains two important sets of classes: a set of actual data (datasets) that are responsible for processing the internal software, and a set of data Provider that is responsible for communicating with external systems. The specific architecture is as follows:

Another core element of the ADO structure is the. NET Data Provider (Provider). Details include:

    • The Connection object provides a connection to the data source.
    • The Command object enables you to access database commands that return data, modify data, run stored procedures, and send or retrieve parameter information.
    • The DataReader object provides a fast, read-only stream of data from the data source.
    • The DataAdapter object provides a bridge that connects a DataSet object to a data source. DataAdapter uses the command object to execute SQL commands in the data source to load data into the dataset and to make changes to the data in the dataset consistent with the data source.

Ado. NET tutorial (i)

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.