Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

OLE DB VS ADO.NET

$
0
0

I think this is a question you could find on every .NET related forum.

But I'm going to throw it: Which connection type should I use? ADO .NET or OLE DB

I know in the past ADO was just a layer on top of OLE DB so it was better to use OLE DB directly. Nowadays, with ADO .NET, that isn't the case anymore or am I totally wrong?

The reason why I'm asking this is because I'm considering to switch from OLE DB connection to ADO .NET because I have nothing but troubles with parameter mappings and wrong values inserted in the database because of data type conversions. When I use ADO.NET, everything works fine.

What about performance? A fable or the truth? In my testing environment I work with small datasets but in production this won't be the case.

Is there a good article somewhere out there on this subject?

Thanks in advance,
Tom


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>