Meta Data Services Programming

Add Relationship Types and Pairs of Collection Types

Relationships connect objects to each other in a Microsoft® SQL Server™ 2000 Meta Data Services repository. When you define a new relationship type, you also define an origin collection type and a destination collection type. The origin collection type connects the relationship type to one interface; the destination collection type connects the relationship type to a second interface. The classes that implement those interfaces are now related in your information model.

To create a new relationship type (and its corresponding pair of collection types) and attach it to two interfaces

See Also

Add Properties to Each Interface

Add Methods to Each Interface

Creating Type Information Programmatically

IReposTypeLib Interface