I want to use EF Core for my application but instead that EF Core should send a SQL command onto a datbase it should just simply send it to another application which will care about multi-tenancy and choosing the right database (tennant) for this command.

So is there a way to overwrite the main point in EF Core where the command is allready generated and WOULD be now send into the given database and instead of sending it into that, just do things?