Save cache when switching between connections
I noticed that when changing connections data saved with Util.Cache is cleared. It would be handy if there was a way to persist cache across connections.
A use case I have is comparing data between server instances. For example, I would like to cache some data under a qa key, switch to a staging server connection, and then cache some new data under a staging key.
Once both caches are populated I would do comparisons.
Thanks!
Comments
If you're sure that the two data models are equal, you can create another instance of the typed data context (or user query) to the staging environment.