Introduction To ADO
Introduction To ADO
NET
Last Updated : 14 Apr, 2023
The .NET Framework includes its own data access technology
i.e. ADO.NET. ADO.NET is the latest implementation of
Microsoft’s Universal Data Access strategy. ADO.NET consists of
managed classes that allows .NET applications to connect to data
sources such as Microsoft SQL Server, Microsoft Access, Oracle,
XML, etc., execute commands and manage disconnected data..t
Microsoft ADO.NET is the latest improvement after ADO. Firstly,
ADO.NET was introduced in the 10th version of the .NET
framework, which helps in providing an extensive array of various
features to handle data in different modes, such as connected
mode and disconnected mode. In connected mode, we are
dealing with live data and in disconnected mode, data is provided
from the data store.
ADO.NET was primarily developed to address two ways to work
with data that we are getting from data sources. The two ways
are as follows :
1. The first is to do with the user’s need to access data once
and to iterate through a collection of data in a single
instance i.e caching the data in runtime memory.
2. The second way to work with data is in connected way
which is we do not cache data. And we always go to
database to retrieve it
Architecture of ADO.NET :
ADO.NET uses a multilayered architecture that revolves around a
few key concepts as –
asConnection
Command
DataSet objects
The ADO.NET architecture is a little bit different from the ADO,
which can be shown from the following figure of the architecture
of ADO.NET.
Architecture of ADO.NET