Как применить контакт к учетной записи?
Итак, у меня есть аккаунт и контакт
Аккаунт acc = новый Аккаунт {Name = "Ab ..",};
Контакт co = новый контакт {Имя = "Джон", ..};
А потом
CreateOneToManyRequest createOneToManyRelationshipRequest =
new CreateOneToManyRequest
{
OneToManyRelationship = new OneToManyRelationshipMetadata
{
//What should I put here?
},
Lookup = new LookupAttributeMetadata
{
//And here?
}
};
CreateOneToManyResponse createOneToManyRelationshipResponse =
(CreateOneToManyResponse)_serviceProxy.Execute(
createOneToManyRelationshipRequest);
Я на правильном пути? или есть другой способ подключения контактов к аккаунтам?