Create a Repository Type Library

Meta Data Services Programming

Meta Data Services Programming

Create a Repository Type Library

The Repository Type Information Model (RTIM) 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

  • Use the CreateTypeLib method of the root object's IManageReposTypeLib interface or the ReposRoot object.

    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.

See Also

Creating Type Information Programmatically

Define Dependencies Between Type Libraries

IManageReposTypeLib Interface

ReposRoot Object

ReposTypeLib Class