New Information Technology 10 ADO.net
New Information Technology 10 ADO.net
Net
➢ ADO.NET Architecture
1
✓ Data Provider and DataSet
The two key components of ADO.NET are Data Providers and DataSet .
• Data Provider classes are designed to work with different kinds of
data sources. They are used to perform all data-management
operations on specific databases.
2
- OLEDB Data Provider (ASP.NET OLEDB Connection) uses the
OleDbConnection Object
- ODBC Data Provider (ASP.NET ODBC Connection) uses
OdbcConnection Object respectively.
• Connection
The Connection Object provides physical connection to the Data Source.
Connection object needs the necessary information to recognize the data
source.
• Command
3
The Command Object uses to perform SQL statement or stored procedure
to be executed at the Data Source. The command object provides a
number of Execute methods that can be used to perform the SQL queries
in a variety of fashions.
4
• DataReader
• DataAdapter
✓ DataSet
5
✓ The purpose of ADO Net
ADO.NET is a data access technology that provides communication
between relational and non-relational systems through a common set of
components. ADO.NET is a set of computer software components that
programmers can use to access data and data services from a database.