I want to use the DbProvider class to construct a generic DAL component. This will be convenient when switching between different database providers. On a machine with Oracle 2.2 installed the Oracle provider ODP.NET is not listed when trying to list up all the database providers available on the machine.
DataTable dtable = DbProviderFactories.GetFactoryClasses();
Though referencing the Oracle.DataAccess.dll and connect to Oracle using the OracleConnection class is not problem.
OracleConnection con = new OracleConnection();
What am I doing wrong here ?
EDIT: According to this page I should see an "Oracle Data Provider for .Net" in the list.