共用方式為


OrganizationServiceContextExtensions.IsAttached Method

 

Applies To: Dynamics CRM 2013

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

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

Overload List

Name Description
System_CAPS_pubmethodSystem_CAPS_static IsAttached(OrganizationServiceContext, Entity, String, Entity, Nullable<EntityRole>)

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

System_CAPS_pubmethodSystem_CAPS_static IsAttached<TSource, TTarget>(OrganizationServiceContext, TSource, Expression<Func<TSource, TTarget>>, TTarget)

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

System_CAPS_pubmethodSystem_CAPS_static IsAttached<TSource, TTarget>(OrganizationServiceContext, TSource, Expression<Func<TSource, IEnumerable<TTarget>>>, TTarget)

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

Remarks

This is an extension to the core IsAttached method.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Attach entities to the context (Dynamics CRM 2013)

Return to top