RelationshipDef Class

See Also

When you define a tool information model in the Repository, you define classes of objects, types of relationships that can exist between objects, and various properties that are attached to these object classes and relationship types. The relationship types that you define in your tool information model are represented by instances of the RelationshipDef class.

When to Use

Use the RelationshipDef Class to access the properties of a relationship definition (also referred to as a relationship type).

To insert a new relationship type into a tool information model, use the ReposTypeLib class.

Interfaces

Interface Description
IannotationalProps Gets and sets annotational properties.
IclassDef Manages class definitions.
IrepositoryDispatch Provides enhanced dispatch support.
IrepositoryItem Manages Repository objects and relationships.
IrepositoryObject Retrieves Repository object identifiers.
IrepositoryObjectStorage Creates and loads Repository objects.
IreposTypeInfo Contains the collection of definition objects that are associated with a tool information model's Repository type library.