教程中国
PHOTOSHOP CS9.0中文版 MAYA 8.5 FOR WINDOWS Corel Painter v9.0 Flash MX2004 中文版 Illustrator cs2 中文版
VC++6.0含sp6 中英文版 VB6.0 +sp6 简体中文版 Borland Delphi 7汉化版 MSDN for vb6.0中文版 Visual Studio 2005简体
教程中国下属 文件存储共享专家BIBIDU.COM 提供大型软件,教材,源码,电影,音乐,图书等下载 更多精品请点此进入
  您目前所在位置: 教程中国 >> 编程基地 >> ASP >> ADO和ADO.NET的比较 RSS订阅
ADO和ADO.NET的比较
教程(视频,书籍)下载:  ASP.NET AutoCAD 数据库 C# ASP java photoshop 网页设计 delphi 3dmax Flash C++ VB 张孝祥 实例   更多请进入BIBIDU搜索
IT搜索引擎   

ADO和ADO.NET的比较

Feature ADO ADO.NET Memory-resident data representation Uses the RecordSet object, which looks like a single table. Uses the DataSet object, which can contain one or more tables represented by DataTable objects. Relationships between multiple tables Requires the JOIN query to assemble data from multiple database tables in a single result table. Supports the DataRelation object to associate rows in one DataTable object with rows in another DataTable object. Data visitation Scans RecordSet rows sequentially. Uses a navigation paradigm for non-sequential access to rows in a table. Follows relationships to navigate from rows in one table to corresponding rows in another table. Disconnected access Provided by the RecordSet but typically supports connected access, represented by the Connection object. You communicate to a database with calls to an OLE DB provider. Communicates to a database with standardized calls to the DataAdapter object, which communicates to an OLE DB provider, or directly to SQL Server. Cursors Utilizes server-side and client-side cursors. The architecture is disconnected so cursors are not applicable. Programmability Uses the Connection object to transmit commands that address underlying data structure of a data source. Uses the strongly typed programming characteristic of XML. Data is self-describing because names for code items correspond to the "real world" problem solved by the code. Underlying data constructs such as tables, rows, and columns do not appear, making code easier to read and to write. Sharing disconnected data between tiers or components Uses COM marshalling to transmit a disconnected record set. This supports only those data types defined by the COM standard. Requires type conversions, which demand system resources. Transmits a DataSet as XML. The XML format places no restrictions on data types and requires no type conversions. Transmitting data through firewalls Problematic, because firewalls are typically configured to prevent system-level requests such as COM marshalling. Supported, because ADO.NET DataSet objects use XML, which can pass through firewalls. Scalability Database locks and active database connections for long durations contend for limited database resources. Disconnected access to database data without retaining database locks or active database connections for lengthy periods limits contention for limited database resources.

来源:upschool.cn
作者:
关键字:ADO,ADO.NET,比较
发表日期:2006-7-26

网页显示有限 阅读全文请下载本文完整版WORD文档

上一篇:Lotus Domino在ASP应用中的优势   下一篇:Asp中关于Global.asa文件的编程(三)


2009-1-8 21:28:04
本文的相类似文章
  • Java 中对文件的读写操作之比较
  • Adobe发现新漏洞发布重要补丁
  • 用sql比较两个数据库是否一致
  • 对刚接触oracle的人比较有用的一些工具
  • 常见数据库系统之比较 Oracle数据库
  • 常用数据库比较
  • 详细解释ODBC或BDE,ADO 和 OLE DB
  • ADO.net 中数据库连接方式
  • 现流行数据库程序开发工具的比较分析
  • 介绍几种 ADO.net 中的数据库连接方式
  • 在学习中进步 在进步中成长 教程中国相随您的成长之路
    华腾联合科技股份有限公司版权所有
    广告联系:Rosibo@163.com