Share via


EntityExtensions.SetRelatedEntities Method

 

Applies To: Dynamics CRM 2015

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 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright