[thelist] [.NET] Multi-Database Programming
Scott Dexter
dexilalolai at yahoo.com
Mon Nov 8 13:51:01 CST 2004
This smells like something Reflection can solve, where you 'discover'
which assembly/ies are installed, and fire the code that way. Kinda
like an Abstract Factory sort-of-thing. Maybe?
What if you remove the using statement(s) and fully qualify the code
path?
--- Joshua Olson <joshua at waetech.com> wrote:
>
> As soon as the function that references MySQL, even if the
> code-path doesn't
> allow for the code to be executed, the system tries to load up the
> assembly.
> If the assembly isn't installed on the client machine, then every
> blows up.
> The error being in this case:
>
More information about the thelist
mailing list