I've done a lot of hunting and can't find a single example of how to retrieve the Connection
information between an Account
and Contact
in Dynamics CRM 2011. Can someone point me in the right direction?
FYI, this is my usual method of retrieving data (it doesn't cover this issue and nothing I have tried has even come close to working)
var context = new XrmServiceContext(crmService);
var accounts = context.AccountSet.Where(a => a.Name.StartsWith("A"));
Console.WriteLine("Accounts beginning with the letter A");
foreach (Account account in accounts)
{
Console.WriteLine("{0} ({1})", account.Id, account.Name);
}
Thanks in advanced.