Autoquery Change IDbConnection

Have a look at the MultiDbConnectionFactory approach taken that was posted in the original question:

It’s a bit uglier, but it’s the only way to be able to take over which DB Connection that AutoQuery ends up using.