RetrieveRequest.RelatedEntitiesQuery Property
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Gets or sets the query that describes the related records to be retrieved. Optional.
Namespace: Microsoft.Xrm.Sdk.Messages
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
public RelationshipQueryCollection RelatedEntitiesQuery { get; set; }
Public Property RelatedEntitiesQuery As RelationshipQueryCollection
Property Value
Type: Microsoft.Xrm.Sdk.RelationshipQueryCollection
Type: RelationshipQueryCollection
The query that describes the related records to be retrieved.
Remarks
This property value is a collection of link-entity/query pairs. For each relationship between the Target entity and another entity, you can specify a query for the records that are related to the Target record.
See Also
RetrieveRequest Class
Microsoft.Xrm.Sdk.Messages Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright