IReadOnlyTypeBase.IsStrictlyDerivedFrom(IReadOnlyTypeBase) Method

Definition

Determines if this type derives from (but is not the same as) a given type.

public virtual bool IsStrictlyDerivedFrom (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase baseType);
abstract member IsStrictlyDerivedFrom : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase -> bool
override this.IsStrictlyDerivedFrom : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase -> bool
Public Overridable Function IsStrictlyDerivedFrom (baseType As IReadOnlyTypeBase) As Boolean

Parameters

baseType
IReadOnlyTypeBase

The type to check if it is a base type of this type.

Returns

true if this type derives from (but is not the same as) baseType, otherwise false.

Applies to