共用方式為


EntityExtensions.SetRelatedEntities Method

 

Applies To: Dynamics CRM 2013

Modifies the collection of related entities for a specific relationship.

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

Overload List

Name Description
System_CAPS_pubmethodSystem_CAPS_static SetRelatedEntities<TEntity>(Entity, Relationship, IEnumerable<TEntity>)

Modifies the collection of related entities for a specific relationship.

System_CAPS_pubmethodSystem_CAPS_static SetRelatedEntities<TEntity>(Entity, String, IEnumerable<TEntity>)

Modifies the collection of related entities for a specific relationship.

System_CAPS_pubmethodSystem_CAPS_static SetRelatedEntities<TEntity>(Entity, String, Nullable<EntityRole>, IEnumerable<TEntity>)

Modifies the collection of related entities for a specific relationship.

System_CAPS_pubmethodSystem_CAPS_static SetRelatedEntities<TEntity, TResult>(TEntity, Expression<Func<TEntity, IEnumerable<TResult>>>, IEnumerable<TResult>)

Modifies the collection of related entities for a specific relationship.

See Also

EntityExtensions Class
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2013

Return to top