IModel.GetDerivedModels method
Namespace: NextDesign.Core
Description
Gets the source instance for this instance by the specified related class. If the related class is not specified (null), all derived source instances will be acquired. This method evaluates IContextOption.PlModelAccessMode.
This method returns an empty collection if the following cases are true:
- The derivation source instance associated with the corresponding derivation association does not exist
- The specified related class cannot be found
- The specified related class is not derived related
- The reference field to the derivation source by the specified derivation related class cannot be found.
argument
Name | Type | Description |
---|---|---|
className | string | Derived related class name Specify the name of the derived related class or the fully qualified name. If null is specified, all referenced fields will be fetched for the relevant instance. The default value is null. |
fuzzy | bool | className Whether to treat the argument as a class name rather than a fully qualified name. If False, evaluate as specifying a class whose fully qualified name matches className. If True, evaluate as specifying a class whose class name matches className. The default value is True. |
Return value
- IModelCollection