OrganizationServiceContextExtensions.AutoMapEntity Method (OrganizationServiceContext, Guid)

 

Applies To: Dynamics CRM 2015

Creates the attribute mappings between two entities. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static void AutoMapEntity(
    this OrganizationServiceContext context,
    Guid entityMapId
)
public:
[ExtensionAttribute]
static void AutoMapEntity(
    OrganizationServiceContext^ context,
    Guid entityMapId
)
static member AutoMapEntity : 
        context:OrganizationServiceContext *
        entityMapId:Guid -> unit
<ExtensionAttribute>
Public Shared Sub AutoMapEntity (
    context As OrganizationServiceContext,
    entityMapId As Guid
)

Parameters

  • entityMapId
    Type: System.Guid

    The ID of the entity map to overwrite when the automated mapping is performed.

Remarks

This is a method wrapper for the AutoMapEntityRequest and AutoMapEntityResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright