IReadOnlyEntityType.IsStrictlyDerivedFrom(IReadOnlyEntityType) Method

Definition

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

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

Parameters

baseType
IReadOnlyEntityType

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

Returns

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

Applies to