As my application is multitenant with same codebase and different databases so i need to implement logic to set dbcontext after user login. I am planning to use DI (mostly Automapper but not final) so If i want to create connectionstring once user logic then is it possible to pass connectionstring to dbcontext through DI or any other approach to set connectionstring per request to dbcontext
Thanks for support