What are the different ADO.NET namespaces are available in .NET.

Answer

The following namespaces are available in .NET.

System.Data

This namespace is the base of ADO.NET. It provides all the classes that are used by data providers. The most import class that it supports is DataSet. It also contains classes to represent tables, columns, rows, relation and the constraint class.

System.Data.Common

This namespace defines common classes that are used as base classes for data providers. These classes are used by all data providers. Examples are DbConnection and DbDataAdapter

System.Data.OleDb

This namespace provides classes that work with OLE-DB data sources using the .NET OleDb data provider.Example of these classes are as follows:

- OleDbConnection.
- OleDbCommand.

System.Data.Odbc

It defines the data provider for the SQL Server database. It contains classes such as

- SqlConnection.
- SqlCommand.
- SqlDataReader

System.Data.SqlTypes

This namespace provides classes for specific data types for the SQL Server database.

All ado.net Questions

Ask your interview questions on ado-net

Write Your comment or Questions if you want the answers on ado-net from ado-net Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---