tags:

views:

85

answers:

2

Are there any tutorials or how-to's that explain how to implement an ADO.NET layer?

That would include implementing a Connection class, etcetera.

I need to do this because I am querying an old proprietary system and I want to wrap the old APIs properly.

+1  A: 

See "Building a Custom Data Provider for Use with the .NET Data Access Framework" at http://msdn.microsoft.com/en-us/magazine/cc301611.aspx

Also, Googling for "Custom ADO.NET Data Provider" should give you many possible answers.

Bork Blatt
This link is really really old and out of date. I ended up redoing all the stuff they suggested because it's the wrong way to do it at the moment.
Sklivvz
Just out of curiosity - did you Google to get more methods as I suggested?
Bork Blatt
Also - if you find a better answer, post it here so others can benefit and not use Microsoft's outdated answer.
Bork Blatt
A: 

I asked a question similar to this a while back. You may want to read through the answers there. The person who actually answered the question posted a link to a code project article that did a great job of explaining ado when working with MSAcess.

http://stackoverflow.com/questions/167746/where-can-i-find-an-open-source-c-project-that-uses-ado-net

Matt

related questions