Κοινή χρήση μέσω


CrmServiceClient.UpdateEntity Method (String, String, Guid, Dictionary<String, CrmDataTypeWrapper>, String, Boolean, Guid)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Generic update entity

Namespace:   Microsoft.Xrm.Tooling.Connector
Assembly:  Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)

Syntax

public bool UpdateEntity(
    string entityName,
    string keyFieldName,
    Guid id,
    Dictionary<string, CrmDataTypeWrapper> fieldList,
    string applyToSolution = "",
    bool enabledDuplicateDetection = false,
    Guid batchId = null
)
Public Function UpdateEntity (
    entityName As String,
    keyFieldName As String,
    id As Guid,
    fieldList As Dictionary(Of String, CrmDataTypeWrapper),
    applyToSolution As String,
    enabledDuplicateDetection As Boolean,
    batchId As Guid
) As Boolean

Parameters

  • entityName
    Type: System.String

    String version of the entity name

  • 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

Return Value

Type: System.Boolean

true on success, false on fail

See Also

CrmServiceClient Class
Microsoft.Xrm.Tooling.Connector Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright