Solved

Adodb vs SQLconnection

Posted on 2014-07-25
2
354 Views
Last Modified: 2014-07-25
I have ben involved in a project that was a very slow migration frm vb6 to vb.net.   The systems were extremely huge and the custom software project successful for them.     My question is what are the reasons I should advocate SQLconnection vs the older established ado libraries.  I have been using the managed sql conn providers for years now and stopped using adodb more than10 years ago.  

I guess my question is why advocate doing this? Will ado eventually go away?  The amounts of data transfer are fairly light. We are not dealing with big data here.  The product has been successful it's clients do not care what connection methods are under the hood.
0
Comment
Question by:charlesbaldo
2 Comments
 
LVL 32

Assisted Solution

by:ste5an
ste5an earned 250 total points
ID: 40218775
hmm, nothing to do for two reasons:

1. SqlConnection/SqlCommand is ADO.NET.
2. Assuming that you mean using ADO over ODBC: Use inheritance. SqlConnection/SqlCommand and OdbcConnection/OdbcCommand derive from DbConnection/DbCommand. Use factory methods or an abstract factory to create the appropriate concrete classes.
0
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 250 total points
ID: 40218778
This Microsoft article, Data Access Technologies Road Map,  http://msdn.microsoft.com/en-us/library/ms810810.aspx may help some.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now