IMetamodels.Relate Method
Namespace: NextDesign.Core
Description
Associates the specified classes.
Arguments
Name | Type | Description |
---|---|---|
name | string | Related class name |
source | IClass | Source class |
sourceEndName | string | Reference name of source class |
target | IClass | Target class |
targetEndName | string | Reference name of target class |
multiplicity | string | Related multiplicity - "ManyToMany": Many-to-many - "OneToMany": One-to-many - "ManyToOne": Many-to-one |
Return value
Exceptions
Name | Exception class | Description |
---|---|---|
Profile editing not possible | ExtensionEditProfileException | If the profile editing operation fails |