Accessing entity relationships to supertypes

I have a macro for generating meaningful Constraint Names on relationships. 

I'm using the following, which works fine for all ordinary relationships:

    For Each relp In ent.ChildRelationships
etc...

However, this does not include relationships to supertypes (ie. the FK relationship from a subtype PK to the supertype).
I cannot see any property on the 'Entity' object for accessing these relationships within the macro.

Does anyone know how to access them?

I've looked at '
SubTypeClusters' on the Model object, but cannot see any attributes on SubTypeCluster for setting the constraint name or getting a Relationship entity..

Parents
No Data
Reply
  • I'm confused by your question - there is no constraint name associated with Supertype / Subtype relationship.  You can't define it in the ER Studio user interface - if you can't define it in the UI, you won't be able to define it in a macro either.  The only thing you can edit on a SuperType / Subtype relationship is the rolename of the column.

Children
No Data