Meta Data Services Programming
IViewRelationshipDef Interface
The IViewRelationshipDef interface is derived from IRepositoryDispatch, which inherits from IDispatch and is implemented by the RelationshipDef class.
When to Use
Use this interface to define a junction table view of a relationship class. This is used for views that have many-to-many relationships.
Properties
Property | Type | Description |
---|---|---|
ViewFlags | long | Bit flags that determine the characteristics of the view generated for the class |
ColumnNamePrefix | string |
This string is prefixed to the column names NAME, PrevDstID, and RelTypeID. The string is used in all views where the corresponding column appears. |
JunctionViewName | string |
A custom view name that overrides the default view. It applies specifically to a many-to-many relationship or a relationship that has the GENERATE_VIEW flag set. |
Dispatch Identifier: DISPID_IViewRelationship (381)