Solved

Adodb vs SQLconnection

Posted on 2014-07-25
2
363 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 33

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 83

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
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.

948 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

22 Experts available now in Live!

Get 1:1 Help Now