RetrieveRequest.RelatedEntitiesQuery Property

 

Applies To: Dynamics CRM 2015

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 RelationshipQueryCollection^ RelatedEntitiesQuery {
    RelationshipQueryCollection^ get();
    void set(RelationshipQueryCollection^ value);
}
member RelatedEntitiesQuery : RelationshipQueryCollection with 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

© 2016 Microsoft. All rights reserved. Copyright