Solved

Adodb vs SQLconnection

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sql Query 6 68
SQL Query assistance 16 27
parsing JSON help 1 10
Formula for calculating ROI on training 6 30
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that undeā€¦
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
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.

831 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