sharing pages for various DB

I'm going to have various DB having the exact same Schema and structure.

I would like to have a Module having various Web Pages accessing a DB through a dependencies reference.  

However, I would like to dynamically change the DB being used.  

Need some help in order to make this possible.  


Solution

Hi,

In that scenario you can use the action DatabaseConnection_SetConnectionStringForSession of the PlatformRuntime API.

Check this page.

Regards,

Marcelo

Solution