Skip to main content

IModel.GetDerivingModels method

Namespace: NextDesign.Core

Description

Gets the instance derived from this instance by the specified related class. If the related class is not specified (null), all derived instances will be acquired.

This method evaluates IContextOption.PlModelAccessMode.

This method returns an empty collection if the following cases are true:

  • There is no derived destination instance associated with the corresponding derivation association.
  • The specified related class cannot be found
  • The specified related class is not derived related
  • The reference field to the derivation destination by the specified derivation related class cannot be found.

argument

NameTypeDescription
classNamestringDerived 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.
fuzzyboolclassName 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