ADO.Net Framework is the data access model for ASP.Net or .Net based applications. ADO.Net includes the features to access the database from various relational database systems such as SQL Server 2000, SQL Server 2005, and Oracle etc and provides their supported OLE DB and ODBC providers.
ADO.Net includes 2 models to access the data from various data sources:
ADO.Net provides the classes and data access components to work with database systems. To do some initial tasks you need to create some objects that work in the open connection state of database. These component classes are:
Above three classes provide the fundamental features and methods to work with database. They help to connect to a database, execute a command and represent the data retrieved from the database.
Class names used above do not exist they are just used to understand their role in Data Access Model. Actually these classes have their specific name according to the database provider used to access the database.
For example:
SqlConnection class, OleDbConnection class, ODBCConnection class, OracleConnection class. These different connection classes are used to connect to the different types of data sources.
ADO.Net includes two categories of data providers:
Native providers such as SQL Server and Oracle that provide high performance due to one less layer between application and database communication. Bridge providers such as OLE DB and ODBC access the database through OLE DB layer or COM.
ADO.Net data providers:
All classes, struct and enum etc are included in the corresponding namespaces of different Data Providers
System.Data.SqlClient: For SQL Server .NET Data Provider types. System.Data.OracleClient: For Oracle .NET Data Provider System.Data.OleDb: For OLE DB .NET Data Provider types. System.Data.Odbc: For ODBC .NET Data Provider types. System.Data: For common classes such as DataSet and DataTable.
Currently rated 3.0 by 2 people
Tags: asp.net, ado.net, asp.net data access model, asp.net data access architecture, ado.net connected data access model, ado.net data providers, ado.net namespaces
8/23/2008 8:53:00 PM