Skip to content

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

Description

@mikimouse77

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions