/// <summary>
 /// Deprecated Method for adding a new object to the PersonRelationships EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPersonRelationships(PersonRelationship personRelationship)
 {
     base.AddObject("PersonRelationships", personRelationship);
 }
 /// <summary>
 /// Create a new PersonRelationship object.
 /// </summary>
 /// <param name="personID">Initial value of the PersonID property.</param>
 /// <param name="relatedPersonID">Initial value of the RelatedPersonID property.</param>
 /// <param name="relationshipTypeID">Initial value of the RelationshipTypeID property.</param>
 public static PersonRelationship CreatePersonRelationship(global::System.Int32 personID, global::System.Int32 relatedPersonID, global::System.Int32 relationshipTypeID)
 {
     PersonRelationship personRelationship = new PersonRelationship();
     personRelationship.PersonID = personID;
     personRelationship.RelatedPersonID = relatedPersonID;
     personRelationship.RelationshipTypeID = relationshipTypeID;
     return personRelationship;
 }