Generic Database Class
May 8, 2007 12:31am CST
I am trying to develop a generic database class which allow me to connect to MySQL, Oracle, PostgreSQl and MSSQL databases. I have the following classes ready:- clsMySQL clsOracle clsMSSQL clsPSql I need to create a wrapper class to call either one of the above class depends on the database choosen (set in web.config). What is the best way to achieve this? Some people recommend Inteface, some people suggest Class. Any advice.