Ado. NET's introduction

Source: Internet
Author: User

Namespaces//provides classes and interfaces for use in. NET data access

Name space Description
System.Data All data-access generic classes
System.Data.Common Classes shared by individual data providers
System.Data.EntityClient Entity Framework Class
System.Data. Linq.sqlclient LINQ to SQL provider classes
System. Data. Odbc Classes of ODBC providers
System.Data. Sql New generic interfaces and classes for SQL Server data access
System.Data.SqlClient class for SQL Server provider
System.Data.SqlTypes SQL Server Data type

Database-specific Classes

Class Description
SqlCommand Wrapper used as an SQL statement or stored procedure call
SqlCommandBuilder Used to generate SQL commands from a SELECT statement
SqlConnection Used to connect to the database
SqlDataAdapter Class for storing the Select,insert,update,delete command
SqlDataReader For forward-only connection data readers
SqlParameter Used to define a parameter for a stored procedure
SqlTransaction Used for database transactions, wrapped in an object.

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.