ado.net Profile

ADO.NET is a set of data sources and interacts object-oriented class library:

One: Under normal circumstances, the data source is a database, but it could also be a text file, Excel spreadsheet or XML file

Two: ADO.NET and allows different types of data sources, and interacting with the database. However, this is not related to a series of classes and to complete this work.

III: Since different data sources use different protocols, so for different data sources must use the appropriate protocol. Some older data sources use the ODBC protocol, a number of new data sources using OleDb protocol, and is now emerging more data sources.

IV: These data sources can be connected by the ADO.NET .NET class library.

 

ADO.NET is a data access technology, so that the application can connect to the data store, and all manner of operation of data stored therein.
The remainder of the technique based on highly integrated .NET Framework, the .NET Framework Class Library. The ADO.NET API design, so that all can use the API from the .NET Framework oriented languages, such as Visual Basic, C #, J #, and Visual C ++.
 
Resources .NET Framework Class Library for the operation of the database called ADO.NET, mainly defined namespace System.Data namespace and its subordinate, the resource name space which, System.Data.SqlClient, etc. can be used for SQL Server database operations; in addition, may also be used OLEDB or ODBC database operation mode.
 
ADO.NET five objects are:
1, Connection (connection database)
2, Command (Execute T-SQL statement)
3, DataAdapter (user filled DataSet, disconnected mode)
4, DataReader (database read a read-only mode, only the forward)
5, DataSet (data sets, like the computer's memory)

Guess you like

Origin www.cnblogs.com/1016391912pm/p/11445792.html