Solved

Adodb vs SQLconnection

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how the fundamental information of how to create a table.

790 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