Relationship Definition Objects

Meta Data Services Programming

Meta Data Services Programming

Relationship Definition Objects

A relationship definition object defines a relationship type. You can define a relationship type for relationship characteristics that repeat. For example, table has columns represents a type of relationship that repeats for every table that has columns. This relationship can be used to describe how LoanTable relates to LoanID, how CustomerTable relates to CustomerName, and how OrderTable relates to OrderDate.

If you are creating an information model programmatically, you should create a relationship definition object for every relationship that you implement. For more information, see Defining a Relationship.

If you have relationship definition objects that conform to the same template, you can define a relationship collection to represent the set. For more information, see Collection Definition Objects.

You can access a relationship definition object from Automation or COM programs using the RelationshipDef object, the RelationshipDef class, or the IReposTypeInfo interface.

See Also

Example: Associating Data with RTIM

IReposTypeInfo Interface

RelationshipDef Class

RelationshipDef Object

Repository Object Architecture