Meta Data Services Programming
RTblClassDefs SQL Table
RTblClassDefs contains one row for each class that is defined in a repository database.
Column name | Data type | Description |
---|---|---|
IntID | RTIntID | The internal identifier for the class object. |
Z_BranchID_Z | RTBrID | The branch identifier for repository API versioning. It is reserved for proprietary use by the repository engine. The value of this column is always zero. |
Z_VS_Z | RTVerID | An identifier for repository API versioning. It is reserved for proprietary use by the repository engine. The value of this column is always zero. |
Z_VE_Z | RTVerID | An identifier for repository API versioning. It is reserved for proprietary use by the repository engine. The value of this column is always VERINFINITY. |
ClassID | RTGUID | The global identifier of the class, as recorded in the system registry. |
VerPropDescs | Image, 16 bytes |
Definition information for the class. It is reserved for proprietary use by the repository engine. This field can be NULL. The maximum length for this value is 16 bytes. |
PropDescs | Image, 16 bytes |
This column supports backward compatibility with RTblClassDefs in version 1.0. In version 2.0 and later, the value of this column is always NULL. The maximum length for this value is 16 bytes. |
ViewName | Varchar, 128 bytes |
Specifies a user-defined view name for an SQL view based on the class. View generation is supported on Microsoft® SQL Server™ 2000 databases only. The maximum length for this value is 128 bytes. For more information, see IViewClassDef Interface. |
ViewFlags | Integer, 4 bytes |
Specifies whether view generation is supported by the class. This value is provided by the ViewFlags property. The maximum length for this value is 4 bytes. |
Remarks
The RTblClassDefs table stores instance data for ClassDef objects that you define.
The primary key for this table is formed from the IntID, Z_BranchID_Z, and Z_VS_Z columns. A unique index is defined on the same set of columns.
Z_BranchID_Z, Z_VS_Z, and Z_VE_Z are included to provide future support for versioning repository API definitions. At this time, there is only one version of ClassDef.