Dealing without a DataAdapter in 2005

Denaes

Well-known member
Joined
Jun 10, 2003
Messages
956
So I have like 20 typed datasets (about 200 to follow over the next year), and want to create a single generic class to handle generic inserts/updates/deletes with error handling in a constant way... and Id forgotton about this, but there arent any table adapters in 2005.

In 2005 each Typed Dataset has its own custom DataAdaptor which only have a common type of Component. So that makes it awfully hard to generically do this.

The best I can think of off the top of my head is to create an Interface for DataAdaptors.
 
Wow do I feel dumb.

The first think I do is go to create ITableAdapter and it already exists and is in use by Typed DataAdapters. So apparently my idea worked only I didnt have to create my own Interface :D
 
Back
Top