I'm currently upgrading a 2011 environment to 2016SP1 (on-prem).
One external application which used Xrm.Client
is being upgraded to Xrm.Tooling.Connector
but I'm at a loss about this piece of code
ObjectCache cache = Microsoft.Xrm.Client.Caching.ObjectCacheManager.GetInstance();
cache.Clear();
What's the equivalent now that Xrm.Client
is gone ?
To clarify: as far as I understand, the purpose of that is to make sure the application does not cache data. I'd be happy with a non-equivalent piece of code that allows me to tell the SDK "whatever you happen to be caching, invalidate it"