private void CheckIsRelationship() { if (IsRelationship) throw new InvalidOperationException("A relationship cannot have relationships to other parts"); }