IMetamodels.Relate method
Namespace: NextDesign.Core
Description
Associates the specified classes.
argument
Name | Type | Description |
---|---|---|
name | string | Associated class name |
source | IClass | Source side class |
sourceEndName | string | Source-side class reference name |
target | IClass | Target side class |
targetEndName | string | Target-side class reference name |
multiplicity | string | Association multiplicity - "ManyToMany": many-to-many - "OneToMany": one-to-many - "ManyToOne": many-to-one |
Return value
Exceptions
Name | Exception Class | Description |
---|---|---|
Profile cannot be edited | ExtensionEditProfileException | If the profile edit operation fails |