Create a Repository Type Library

The Type Information Model includes a class named ReposTypeLib; each instance of this class corresponds to a Repository type library. Each Repository type library describes an information model.

To create an instance of the ReposTypeLib class

Note   Each instance of ReposTypeLib has a collection of types, where each type is either a class, an interface, or a relationship type. The collection is called ReposTypeInfos, and is used to ensure that unique names are used for all classes, interfaces, and relationship types in your information model.