Solved

Adodb vs SQLconnection

Posted on 2014-07-25
2
399 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:Charles Baldo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 34

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

Raise the IQ of Your IT Alerts

From IT major incidents to manufacturing line slowdowns, every business process generates insights that need to reach the people required to take action. You need a platform that integrates with your business tools to create fully enabled DevOps toolchains.

You need xMatters.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to shrink a transaction log file down to a reasonable size.

695 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