卡里•詹森著所著的《ADO.NET的数据存储》(外文文献翻译).doc
文本预览下载声明
Data Storage in ADO.NET by Cary Jensen Ratings: be the first! Rate It
Abstract: This article is the second in a series to look at ADO.NET. In this installment we take a look at the ADO.NET data storage classes.?
The .NET framework provides a series of interfaces, types, and classes in the System.Data second-level namespace that serve as the basis of data access. These definitions are referred to as ADO.NET.
ADO.NET can be conceptually divided into two parts, the data access mechanism and the data storage layer. In the first article in this series I described the interfaces and some of the classes that implement them. These definitions are found in data-specific third-level namespaces under System.Data, such as System.Data.SqlClient, System.Data.OleDb, and System.Data.Odbc. You can read this article by clicking here.
In this article I will take the same high-level look at the classes that provide for data storage. In the next article in this series I will begin providing specific examples of how to access your data using ADO.NET.
The ADO.NET Data Storage Classes?
Unlike the ADO.NET data access classes, which implement ADO.NET-specific interfaces, data storage in ADO.NET is provided for by concrete classes. These classes give you with the ability to store, edit, update, and control the view of data, regardless of how this data was obtained.?
The most important class involved in the ADO.NET storage mechanism is the DataSet class. But this class relies on a number of other important classes. The primary ADO.NET data storage classes, and their relationships, are represented in the following figure.
As mentioned above, the central class associated with this mechanism is the DataSet. This class provides for an XML-based, in-memory storage of data obtained through the data access mechanism, independent of which data access mechanism you used to acquire the data.?
In fairness, it should be noted that the preceding diagram is an oversimplification of the data storage classe
显示全部