I want to be able to support multiple backend datasources, like SQL Server or OLE DB(FoxPro tables). I can see that by changing the connection string for the whole application the system will be looking at a different datasource. The two main questions that I have are:One - will business objects that are developed using SQL be able to "switch" to using OLE DB to access data from that source?
Two - In the documentation there is a lot of examples where a SQLCommand object is created and parameters are added. Is there a way that this can be done so that the system can create the appropriate command object (based on the current connection type) and make the calls to add the parameters internally?
Thanks for any input and have a Happy Thanksgiving!