OrganizationServiceContext.IsAttached Method (Entity)

 

Updated: November 29, 2016

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

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

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

public bool IsAttached(
	Entity entity
)

Parameters

entity
Type: Microsoft.Xrm.Sdk.Entity

Type: Entity. The entity to be determined if it is attached.

Return Value

Type: System.Boolean

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

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: