Meta Data Services Programming
Defining a Junction Table View
You can direct the repository engine to create a junction-table view for a relationship class. This is the only way to represent a many-to-many relationship. You can also create a junction-table view for a many-to-one relationship, although you can express this kind of relationship using a foreign key instead.
For more information, see IViewRelationshipDef Interface.