麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 編程 > .NET > 正文

DAO RDO ADO ADO.NET

2024-07-21 02:08:00
字體:
來源:轉載
供稿:網友

ado isn't automatically code-compatible with your existing data access applications. while ado encapsulates the functionality of dao and rdo, you must convert many of the language elements over to ado syntax. in some cases, this will mean only a simple conversion of some functions of your existing code. in other cases, it might be best to rewrite the application using ado's new features.

dao (data access objects) was the first object-oriented interface that exposed the microsoft jet database engine (used by microsoft access) and allowed visual basic developers to directly connect to access tables - as well as other databases - through odbc. dao is suited best for either single-system applications or for small, local deployments.

rdo (remote data objects) is an object-oriented data access interface to odbc combined with the easy-to-use style of dao, providing an interface that exposes virtually all of odbcs low-level power and flexibility. rdo is limited, though, in that it doesn't access jet or isam databases very well, and that it can access relational databases only through existing odbc drivers. however, rdo has proven to be the interface of choice for a large number of sql server, oracle, and other large relational database developers. rdo provides the objects, properties, and methods needed to access the more complex aspects of stored procedures and complex resultsets.

ado is the successor to dao/rdo. functionally ado 2.0 is most similar to rdo, and there's generally a similar mapping between the two models. ado "flattens" the object model used by dao and rdo, meaning that it contains fewer objects and more properties, methods (and arguments), and events. for example, ado has no equivalents to the rdoengine and rdoenvironment objects, which exposed the odbc driver manager and henv interfaces. nor can you currently create odbc data sources from ado, despite the fact that your interface might be through the odbc ole db service provider.

much of the functionality contained in the dao and rdo models was consolidated into single objects, making for a much simpler object model. because of this, however, you might initially find it difficult to find the appropriate ado object, collection, property, method, or event. unlike dao and rdo, although ado objects are hierarchical, they are also creatable outside the scope of the hierarchy.

it should be noted, however, that ado currently doesn't support all of dao's functionality. ado mostly includes rdo-style functionality to interact with ole db data sources, plus remoting and dhtml technology.

in general, it's probably too early in the evolution of ado to migrate most dao applications (except possibly ones using odbcdirect) to ado right now, since ado doesn't currently support data definition (ddl), users, groups, and so forth. if you use dao only for client-server applications and don't rely on the jet database engine or use ddl, however, then you can probably migrate to ado now. eventually, microsoft will provide an ado ddl component to aid in dao-to-ado migration and provide generic ddl support for ole db providers.
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 国产污污视频 | 久久久成人动漫 | 黄色av片在线观看 | 一区二区三区在线观看av | 色婷婷av一区二区三区久久 | 圆产精品久久久久久久久久久 | 一级做a爰性色毛片免费1 | 成人免费观看49www在线观看 | 爽爽淫人综合网网站 | 草草久久久 | 亚洲精品久久久久久久久久 | 日本网站在线看 | 欧美一级毛片特黄黄 | 精品一区二区三区毛片 | 草妞视频 | 久久夜夜视频 | 1级黄色毛片 | 久久久www成人免费毛片 | 视频一区二区三区中文字幕 | 九九热精品免费视频 | 毛片免费观看日本中文 | 99热久草| 成人毛片免费看 | 羞羞的视频免费在线观看 | 久章草影院 | 逼片| 一级免费观看 | 一边吃奶一边插下面 | 666sao| 国产一区二区视频网站 | 免费黄色一级网站 | 久草在线视频中文 | 国产精品白嫩白嫩大学美女 | 免费观看一级欧美大 | 毛片国产| 欧美日韩精品不卡一区二区三区 | 污视频在线免费播放 | 黄色视频a级毛片 | 国产91久久久久久 | 亚洲成人免费影视 | 一级免费在线视频 |