EntitySetRelatedEntities Method
Dynamics CRM 2016
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Sets the collection of related entity instances for the specified relationship.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Parameters
- relationshipSchemaName
-
Type:
Type: String. The schema name of the relationship.
- primaryEntityRole
-
Type:
Type: EntityRole. The role of the primary entity in the relationship (referenced or referencing).
- entities
-
Type:
Type: IEnumerable. The collection of entity instances to set.
Type Parameters
- TEntity
Type: Entity. The type of the entity.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright
Community Additions
ADD
Show: