title: Dynamics CRM - Get Name of Relationship
body: <p>Is there any way to get the name of a relationship given the from and to entities?</p>
  
  <p>I have a fairly dynamic piece of code that needs to <code>Associate</code> or <code>Disassociate</code> entities. In order to call these functions, I need to know the name of the relationship. I am not sure how to determine the relationship name just given the two entities.</p>
  
  <p>For example, my code might need to disassociate an account with a contact. How can I determine the relationship name of "account_primary_contact"?</p>