Skip to main content

IModel.GetDerivingModels(string,bool) Method

Namespace: NextDesign.Core

Description

Gets the derived instances of this instance by the specified related class.
If the related class is not specified (null), all derived instances are obtained.

This method evaluates IContextOption.PlModelAccessMode.

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

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

Arguments

NameTypeDescription
classNamestringDerived association class name
Specify the name or fully qualified name of the derived association class.
If null is specified, the related instances are obtained for all reference fields.

The default value is null.
fuzzyboolFuzzy match option
Whether to treat the className argument as the name of a class instead of a fully qualified name.
If False, it is evaluated as if a class whose fully qualified name matches className is specified.
If True, it is evaluated as if a class whose class name matches className is specified.

The default value is True.

Return value

  • IModelCollection