IMetamodels.MoveToPackage(IEnumerable <IClass>, IPackage) method
Namespace: NextDesign.Core
Description
Moves the specified class under the specified package management.
argument
Name | Type | Description |
---|---|---|
targets | IEnumerable <IClass> | Moving class |
newOwner | IPackage | Destination Package |
Return value
- void
Exception
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If the destination package is not specified |
Unique constraint violation | ExtensionDuplicationException | When the specified class is moved and the class name or enumeration type name is duplicated at the destination |
Profile edit not possible | ExtensionEditProfileException | When profile edit operation fails -The class name specified in the destination is duplicated |