1
votes

We are using the Advanced Developer Extension against Dynamics CRM 4.0. We have generated the entities and the Xrm context using CrmSvcUtil.

What we need to do is disable the built in caching that the context uses as it is returning incorrect results, but I've been unable to find out how to do this - any ideas ?

Thanks

Matt

2

2 Answers

0
votes

Ok - found the answer at this site

CacheManager.GetBaseCache().Remove("adxdependency:crm:entity:[entityschemaname]");

Obviously replace [entityschemaname] with the schema name of the entity that you want to remove from the cache :-)