title: Account Contact Relationship in MS Dynamics CRM
body: <p>How do I apply a contact to an account?</p>
  
  <p>So I have an account and a contact</p>
  
  <p>Account acc = new Account{Name="Ab..",};</p>
  
  <p>Contact co = new Contact{Name="John", ..};</p>
  
  <p>And then</p>
  
  <pre><code>CreateOneToManyRequest createOneToManyRelationshipRequest =
                          new CreateOneToManyRequest
  {
     OneToManyRelationship = new OneToManyRelationshipMetadata
     {
         //What should I put here?
     },
     Lookup = new LookupAttributeMetadata
     {
         //And here?
     }
  };
  CreateOneToManyResponse createOneToManyRelationshipResponse =
                          (CreateOneToManyResponse)_serviceProxy.Execute(
                          createOneToManyRelationshipRequest);
  </code></pre>
  
  <p>Are I on the right track? or is there some other way of connecting contacts to accounts?</p>