I'm using entityframework 6.2.0, and I'm on a multi-tenant architecture, I have to change the schema every time I change the country.
in the 1st access to the application I point to the correct schema, on the other hand if I change the country entityframework does not change the default schema because it calls OnModelCreating only once.
I made a method to force the call to OnModelCreating but I couldn't find how to delete the old modelBuilder.configuration first.
do you have any idea on how i can change the schema each time i change the country please ?
I found similar questions, but I couldn't find an answer to my question.