❔ EFCore in .net 6 Web API - using same context/model for multiple environments simultaniously.
I am trying to write a Web API, one of the GET methods in a controller needs to return data from the same table, but in multiple environments. All of the envrionments' schemas are the same (except login credentials/connection string). I was wondering if there is a way to use the same context and table model class to query all 3 environments with EFCore for the sake of keeping the code dry and clean. TIA