Jaa


OrganizationServiceContext.IsAttached Method (Entity, Relationship, Entity)

 

Applies To: Dynamics CRM 2015

Determines whether an entity relationship is attached and therefore being tracked by the OrganizationServiceContext.

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

Syntax

public bool IsAttached(
    Entity source,
    Relationship relationship,
    Entity target
)
public:
bool IsAttached(
    Entity^ source,
    Relationship^ relationship,
    Entity^ target
)
member IsAttached : 
        source:Entity *
        relationship:Relationship *
        target:Entity -> bool
Public Function IsAttached (
    source As Entity,
    relationship As Relationship,
    target As Entity
) As Boolean

Parameters

Return Value

Type: System.Boolean

Type: Boolean.
true if the specified entity is attached to the OrganizationServiceContext; otherwise, false.

See Also

IsAttached Overload
OrganizationServiceContext Class
Microsoft.Xrm.Sdk.Client Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright