Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Is it possible to update DynamicDbContext connection string per each request #60

Open
mikimouse77 opened this issue Aug 10, 2021 · 0 comments

Comments

@mikimouse77
Copy link

Currently I'm using DynamicDbContext to build EdmModel, but with multitenancy system I need to retrieve the data from different databases based on the request. I could build a different EdmModel for each tenant and then use that, but the issue is that there's limitation of 4 DynamicDbContext instances.

So my question is, is it possible to keep using DynamicDbContext but to update the database connection string per request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant