共用方式為


OrganizationServiceContext.AttachLink Method (Entity, Relationship, Entity)

 

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

Notifies the OrganizationServiceContext to start tracking the specified link that defines a relationship between entity objects.

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

Syntax

public void AttachLink(
    Entity source,
    Relationship relationship,
    Entity target
)
Public Sub AttachLink (
    source As Entity,
    relationship As Relationship,
    target As Entity
)

Parameters

See Also

OrganizationServiceContext Class
Microsoft.Xrm.Sdk.Client Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright