Thanks, Cathal,
That is exactly what i am after, I would like to use an additional connection string.
Maybe I am not understanding how it all works. As I understand it, my module makes use of five stored procedures to work with data in the database. I have a DataProvider abstract class that defines several methods to deal with DB data. These are overriden in its derivated class called SqlDataProvider. In the constructor of SqlDataProvider, we can find the following lines of code:
//Get Connection string from web.config
_connectionString = Config.GetConnectionString();
if (_connectionString == "")
{
// Use connection string specified in provider
_connectionString = objProvider.Attributes["connectionString"];
}
When it does
_connectionString = Config.GetConnectionString();
Is it looking for a connection string in web.config? In that case, if we have several connections strings defined, how can we specify which of them to use?
If it doesn't find one,
if (_connectionString == "")
Where are provider connection strings defined?
_connectionString = objProvider.Attributes["connectionString"];
Is it here where I should specify a different connection string depending o which data I am using? Can I set a connection string pointing to my employees DB and still be able to work with my DotNetNuke DB?
Thanks ins advance,
Dani