Base solution for your next web application

Activities of "hussein"

Thanks hikalkan for the reply,

what i'm doing now is multi-tenancy application but using more than database not one database and a tenant id for each record.

I have a login database and when user login i get his database name which the system should connect to, so i want from the AccountController to pass the database name to my DbContext. How can i do that ?

Thanks

I want the system to decide which database to connect while running time based on some logic after user login. So, how to set the connectionstring programmatically?

Thanks

I followed your steps and everything is working great, but the only problem is how to create a repository class for an entity from the second dbContext.

The repository class inherits from RepositroyBase<entity> and the constructor takes any class that inherts AbpDbContext class.

what i need now is to use Context property on my repository and see its own IDbSet<Entity>.

Showing 11 to 13 of 13 entries