I have a WinForm application which is making LINQ queries to a CRM 2011 application. When I run a query I am finding that caching is enabled by default so the application is not picking up changes made in CRM unless I restart the WinForm application.
I found one post which suggests caching can be disabled by updating the configuration file to include the section below but this does not seem to have any effect - any thoughts on what I am doing wrong or any alternative approaches.
<configSections>
<section name="microsoft.xrm.client" type="Microsoft.Xrm.Client.Configuration.CrmSection, Microsoft.Xrm.Client"/>
</configSections>
<microsoft.xrm.client>
<contexts>
<add name="Xrm" type="Xrm.XrmServiceContext, Xrm" serviceName="Xrm"/>
</contexts>
<services>
<add name="Xrm" type="Microsoft.Xrm.Client.Services.OrganizationService, Microsoft.Xrm.Client"/>
</services>
</microsoft.xrm.client>
Nigel T