. NET Foundation Supplements (8) ADO and Database Development Foundation

Source: Internet
Author: User
Tags ole
1.1 ADO. What kinds of data sources are supported by net?

①system.data.sqlclient

This may be. NET programmers are the most common. can be accessed through OLE DB or ODBC, but the components under SqlClient are directly targeted at MSSQL, so ADO is actually doing some optimization work for it.

②system.data.oracleclient

Used with client components (Oracle.DataAccess.dll) for Oracle database products that have to be paired with an Oracle database.

③system.data.oledb

The components under this namespace are primarily for the standard interface of OLE DB, a low-level API to different data sources provided by Microsoft, and it can also connect to other data sources that are not SQL data types. OLE DB is a standard interface that implements the functions of a unified interface for different data sources.

④system.data.odbc

The components under this namespace are for ODBC standard interfaces.

In general, ADO. NET for us to block all the database access levels, provide a unified API to us, so that we do not have to consider the underlying data source is a specific database or another standard interface.

Visually demonstrates the connection between ADO and a possible data source:

. NET Foundation Supplements (8) ADO and Database Development Foundation

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.