crm2011のキャッシュに問題があります。必要ありませんが、無効にする方法がわかりません。
最初にこれを生成します:
CrmSvcUtil.exe / codeCustomization: "Microsoft.Xrm.Client.CodeGeneration.CodeCustomization、Microsoft.Xrm.Client.CodeGeneration" / out:Outputcs / url:https://crmaddress/XRMServices/2011/Organization.svc / username:usr /パスワード:pw / namespace:ns / serviceContextName:XrmServiceContext
次に、次のコードがあります。
private XrmServiceContext _crmService;
public CrmWS()
{
CrmConnection _connection = new CrmConnection();
_connection.ServiceUri = new Uri("https://url");
ClientCredentials credentials = new ClientCredentials();
credentials.Windows.ClientCredential = new NetworkCredential("1","2","3");
_connection.ClientCredentials = credentials;
_connection.ClientCredentials.UserName.UserName = "1";
_connection.ClientCredentials.UserName.Password = "2";
_crmService = new XrmServiceContext(_connection);
var l = _crmService.EntitySet.where(m => m.name == "a").ToList();
}
キャッシュをオフにするにはどうすればよいですか?