Creating a User-defined Type

To create a user-defined type, you must have already created an assembly, and have an OOM containing an appropriate class open in the workspace, in order to specify the supertype.

  1. Create an abstract data type by:

    • Select Model > Abstract Data Types to access the List of Abstract Data Types, and click the Add a Row tool.

    • Right-click the model or package in the Browser, and select New > Abstract Data Type.

  2. On the General Tab of its property sheet, select CLR from the list of Types.
  3. Click the Select Object tool to the right of the Class field, in order to specify a supertype.
  4. Click the Microsoft tab and select an assembly from the list to bind to the type.
  5. Click OK to close the property sheet.