Solution1 by thatraja is good and explains how to create WPF application with multiple databases.
I would like to provide some more details...
First of all, it won't be so easy. Why? There are several resons, but the most important is that, that each
.NET Framework Data Provider[
^] has got own set of objects, methods, etc. Follow the link to find out.
Of course, you can try to write "super-universal-
Data-Access-Layer[
^]" with
overloaded methods[
^] to insert, select, update and delete data. A connection object should be passed as an input parameter.
My advice: don't do that. There is too many things to make a mistake. Better move your focus on one, maybe two, databases.