Comparison of ADO and ADO.NET

Comparison of ADO and ADO.NET

Note: The following content requires a knowledge of database technologies.

The following is a comparison of two different database access technologies from Microsoft, namely, ActiveX Data Objects (ADO) and ADO.NET. Before comparing the two technologies, it is essential to get an overview of Microsoft Data Access Components (MDAC) and the .NET Framework. Microsoft Data Access Components provide a uniform and comprehensive way of developing applications for accessing almost any data store entirely from unmanaged code. The .NET Framework is an application virtual machine-based software environment that provides security mechanisms, memory management, and exception handling and is designed so that developers need not consider the capabilities of the specific CPU that will execute the .NET application. The .NET application virtual machine turns intermediate language (IL) into machine code. High-level language compilers for C#, VB.NET and C++ are provided to turn source code into IL. ADO.NET is shipped with the Microsoft NET Framework.

ADO relies on COM whereas ADO.NET relies on managed-providers defined by the .NET CLR. ADO.NET does not replace ADO for the COM programmer; rather, it provides the .NET programmer with access to relational data sources, XML, and application data.

ADO ADO.NET
Business Model Connection-oriented Models used mostly Disconnected models are used:Message-like Models.
Disconnected Access Provided by Record set Provided by Data Adapter and Data set
XML Support Limited Robust Support
Connection Model Client application needs to be connected always to data-server while working on the data, unless using client-side cursors or a disconnected Record set Client disconnected as soon as the data is processed. DataSet is disconnected at all times.
Data Passing ADO objects communicate in binary mode. ADO.NET uses XML for passing the data.
Control of data access behaviors Includes implicit behaviors that may not always be required in an application and that may therefore limit performance. Provides well-defined, factored components with predictable behavior, performance, and semantics.
Design-time support Derives information about data implicitly at run time, based on metadata that is often expensive to obtain. Leverages known metadata at design time in order to provide better run-time performance and more consistent run-time behavior.

References


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Comparison of Canadian and American economies — The economies of Canada and the United States are extremely similar because they are both developed countries and are each other s largest trading partners. However, key differences in population makeup, geography, government policies and… …   Wikipedia

  • Comparison of C Sharp and Java — The correct title of this article is Comparison of C# and Java. The substitution or omission of the # sign is because of technical restrictions. Programming language comparisons General comparison Basic syntax Basic instructions …   Wikipedia

  • Comparison of C Sharp and Visual Basic .NET — The correct title of this article is Comparison of C# and Visual Basic .NET. The substitution or omission of the # sign is because of technical restrictions. Programming language comparisons General comparison Basic syntax Basic instructions …   Wikipedia

  • Comparison of the Java and .NET platforms — Contents 1 Legal issues 1.1 Standardization 1.2 License 1.2.1 Java 1.2.2 .NET …   Wikipedia

  • .NET Framework — This article is about the Microsoft technology. For the Top level domain, see .net. For other uses, see .NET. .NET Framework Developer(s) Microsoft …   Wikipedia

  • Comparison of application servers — Proprietary application servers provide system services in a well defined but proprietary manner. The application developers develop programs according to the specification of the application server. Dependence on a particular vendor is the… …   Wikipedia

  • Comparison of social networking software — Social Network Engine Comparison Social Network Engines or Social Engines provide the basis for community driven content and social/business networking. Category Tiki Wiki CMS Groupware BoonEx Dolphin BuddyPress EngineY PeopleAggregator ELGG… …   Wikipedia

  • Comparison of object-relational mapping software — This table shows some of the major ORM software products currently available. Software Platform Availability License Version Autumn Python Open source MIT License 0.5.1 (2008 12 23[1]) DataObjects.Net .NET 4.0 Commercial 4.4 (2011 02 11 …   Wikipedia

  • Comparison of object database management systems — Features Information about what fundamental ODBMS features are implemented natively. Name Current Stable Version Language(s) SQL support Datatypes License Description Caché 2010.1.4 ObjectScript (dynamic language), Basic. Java/.NET object mapping …   Wikipedia

  • Comparison of CRM systems — This article is a comparison of notable CRM systems. Contents 1 General 2 Features 3 See also 4 References 5 …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”