Is it possible to execute the ProviderBase.Initialize method on-demand?
We are developing a web application which manages several businesses and each business has its own users and database with exactly the same schema. We would like to change the business at run-time and, after that, select the database that corresponds to it.
Selecting the database is not a problem, but we also need to re-define the properties of the Membership provider and the Roles provider. These parameters are set in the web.config and one of the settings is the "connectionStringName". Our issue is that this
connection string can change at run-time when a different business is selected. Is this possible?
Respectfully,
Jorge Maldonado