Hello
This code retrieves info about Contact (Parent entity) and Contact->Account (relations)
How Can I get related obhect of that Account?
I mean:
Contact->Account-->Account ?
Contact->Account-->Account -> Opportunity ?
Is this possible?
|
public void GetContact_Account_Relation() //связываем контакт и аакаунт //relation from contact to aacount var query = new QueryExpression //contact (0) -> account (1) relations.Add(rel1); request.RelatedEntitiesQuery = relations; Entity entity = (Entity)((RetrieveResponse)service.Execute(request)).Entity; |
Thank you
