Hello hikalkan,
I am using Asp.Net Zero framework.
I want multiple database based on current tenant.
So I have one idea like use parameterize constructor of MCDbContext and once we create object at that time we can pass connection string name or database name.
For that web.config need to be update to date with all databases connection strings. We agree for same
But in coding architecture i have seen connection string name "Default" in MCDataModule class. So please give me advise how can i change connection string name on run time.
If connection string are using from MCDbContext then definitely my idea will work. But in Asp.Net Zero framework getting connection string name from MCDataModule :(
Awaiting for your response.
Thanks, Jatin