Jay B. Harlow [MVP - Outlook]
3/5/2002 4:14:00 AM
Teodorico,
I should add to my other post. The methods of the Abstract Factory
BaseFactory object that return the various interfaces, should be
MustInherit, as the concrete factories must implement them...
Hope this helps
Jay
"Teodorico Morell" <teomorell@hotmail.com> wrote in message
news:OJ$X0Z9wBHA.2520@tkmsftngp05...
> Before using .Net, I used VB with native ODBC access. To change from one
> database to another was really easy. I just change the DSN.
>
> Now with .Net we have the:
>
> System.Data.SqlClient;
>
> System.Data.OleDb;
>
> Microsoft.Data.Odbc;
>
>
>
> How can I write and application and switch from System.Data.OleDb, lets
say
> to Microsoft.Data.Odbc (To use and ODBC driver because and OLEDB provider
is
> not available) without changing any code.
>
>
>
> Thanks,
>
>
>
>
>
> Teo
>
>
>
>
>
>
>