Retrieve related records for a parent record
It’s possible to get related records of a relationship when we retrieve a parent record using RelatedEntitiesQuery property in the RetrieveRequest. That means you have to construct the RetrieveRequest not using the Retrieve method from the OrganizationServiceProxy class.
by Khoa Nguyen
One thought on “Retrieve primary entities along with related entities with one QueryExpression”