CrmServiceClient.UpdateEntity Method (String, String, Guid, Dictionary<String, CrmDataTypeWrapper>, String, Boolean, Guid)
Dynamics CRM 2016
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Generic update entity
Assembly: Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)
public bool UpdateEntity( string entityName, string keyFieldName, Guid id, Dictionary<string, CrmDataTypeWrapper> fieldList, string applyToSolution = "", bool enabledDuplicateDetection = false, Guid batchId = null )
Parameters
- entityName
-
Type:
System.String
String version of the entity name
- keyFieldName
-
Type:
System.String
Key fieldname of the entity
- id
-
Type:
System.Guid
Guid ID of the entity to update
- fieldList
-
Type:
System.Collections.Generic.Dictionary<String, CrmDataTypeWrapper>
Fields to update
- applyToSolution
-
Type:
System.String
Optional: Applies the update with a solution by Unique name
- enabledDuplicateDetection
-
Type:
System.Boolean
Optional: if true, enabled CRM onboard duplicate detection
- batchId
-
Type:
System.Guid
Optional: if set to a valid GUID, generated by the Create Batch Request Method, will assigned the request to the batch for later execution, on fail, runs the request immediately
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright
Community Additions
ADD
Show: