IModel.GetDerivedModels method

Namespace: NextDesign.Core

Description

Gets the instance from which this instance is derived, with the specified association class. If the related class is unspecified (null), get all the derived instances. This method evaluates IContextOption.PlModelAccessMode.

This method returns an empty collection in the following cases: - There is no derived instance associated with the relevant derivation relationship - Cannot find the specified related class - The specified association class is not a derived association - 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 or fully qualified name of the derived related class.
If null is specified, get the related instance for all reference fields.

The default value is null.
fuzzy bool className argument as the name of the class instead of the fully qualified name.
If False, evaluates as the class whose fully qualified name matches className.
If True, evaluate as if the class whose class name matches className is specified.

The default value is True.

Return value

  • IModelCollection