I will try to be as clear as possible on this Smile | :)
Situation
I have one overlooking database, that hold a table with users. Depending on which user logs in, the application should connect to a database that holds more information about that user's organization.
So there are multiple (dynamic) databases where users belong to. All the organizational databases have the same structure of tables but are in separate databases.
Questions
- If I would like to work with Linq, is it possible to connect to different databases on-the-fly?
- Can I save the the connection strings of the organizational databases in my overlooking database then or what is best here?
Thank you!