Wow. thanks. While I imagine it'd be quite an overhaul for me to sub that in, I just might take that on pretty soon. In the meantime I think I'll add some responsiblities to my connection factory and give it a helper method that casts the exception to SqlDataException, looks at the .Errors collection, and returns me an enumerated type of error or something.
Pretty gross. ~Phill -----Original Message----- From: Justin Rudd [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 4:05 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] How are you supporting multiple DB vendors? > How am I expected to use this thing ? Two ways. 1.)You use OleDb for all your access losing the speed that you gain from the Sql managed provider. 2.)You can use my project :-) http://abstractadonet.sourceforge.net/ I've wrapped almost everything so far. All the wrappers throw a common exception (DataException for now). In addition to that, I also have a Mock ADO.NET implementation for unit testing purposes. Justin Rudd http://www.pinetree-tech.com/ http://radio.weblogs.com/0107260/ You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.