外文文献翻译------ado.net技术.doc

约11页DOC格式手机打开展开

外文文献翻译------ado.net技术,ado. net is designed for solving the web and program problem about the distribution application bymicrosoft. as a kind of visit frame of database,ado. net can h...
编号:15-272048大小:73.00K
分类: 论文>外文翻译

内容介绍

此文档由会员 wanli1988go 发布

ADO. NET is designed for solving the Web and program problem about the distribution application by Microsoft. As a kind of visit frame of database, ADO. NET can handle the N layer's data architecture which doesn't join that Web application program requires, thus when visiting the database of SQL SERVER, superior performance has gotten extensive application. This paper discusses for this.
I.The major object of ADO.NET.
Many objects in ADO.Net is similar to the object function in ADO , but the function of the object in ADO.NET is more powerful. At the same time, except the objects of the Connection, Parameter and Command , ADO. NET also add a lot of new object and program melt interface, such as DataSet, DataView, DataAdapter, DataReader and DataSetCommand etc..It make more simple to operate the database.
I.a DataSet object: DataSet is the core of ADO.NET, is specially used to handle the data which is read out from the stock , and keep it in local memory as away from line. We can use identical way to operate the data which is got from the different data source, the behavior of DataSet is consistent whatever the base layer database is SQL Server or Oracle. In


ADO.NET 是Microsoft 为解决Web 和分布式应用程序问题而设计的。作为一种数据库访问框架, ADO.NET 能处理当今N 层的Web应用程序所要求的非连接数据体系结构, 因而在访问SQL SERVER数据库时, 性能优越, 得到了广泛应用。本文对此进行了讨论。
一、ADO.NET 的主要对象
ADO.NET 中有很多对象与ADO 中的对象功能相似, 但ADO.NET 中对象的功能更强大。同时, 除Connection、Parameter、Command对象外ADO.NET 还添加了许多新的对象和程序化接口, 如DataSet 、DataView、DataAdapter、DataReader、DataSetCommand 等,
使得对数据库的操作更简单。
1、DataSet 对象: DataSet 是ADO.NET 的核心, 是专门用来处理从数据存储中读出的数据, 并以离线方式存在于本地内存中。可以使用相同的方式来操作从不同数据来源取得的数据, 不管底层的数据库是SQL Server 还是Oracle, DataSet 的行为都是一致的。在DataSet 中可以包含任意数量的DataTable, 且每个DataTable 对应一个数据库的Table 或View。一般来说, 一个对应