J
jeff
I have an application that can either connect to an access database or
a SQL Server database. I have 2 assemblies both implement the same
interface for describing the data access methods for the application.
One assembly is specific to use the Access database using the OLEDB
provider, the other is specific to SQL Server using the SQLServer
provider. I want to be able to use the SQL server provider for the SQL
server assembly.
My original thought was to have 2 compiled versions of the app, one for
Access and one for SQL Server. I believe there is a better way to do
this using the app.config file but am not sure exactly how to go about
it.
Any thoughts?
Thanks in advance
Jeff D.
a SQL Server database. I have 2 assemblies both implement the same
interface for describing the data access methods for the application.
One assembly is specific to use the Access database using the OLEDB
provider, the other is specific to SQL Server using the SQLServer
provider. I want to be able to use the SQL server provider for the SQL
server assembly.
My original thought was to have 2 compiled versions of the app, one for
Access and one for SQL Server. I believe there is a better way to do
this using the app.config file but am not sure exactly how to go about
it.
Any thoughts?
Thanks in advance
Jeff D.