IReadOnlyEntityType.IsAssignableFrom(IReadOnlyEntityType) Method

Definition

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

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

Parameters

derivedType
IReadOnlyEntityType

The entity type to check whether it derives from this entity type.

Returns

true if derivedType derives from (or is the same as) this entity type, otherwise false.

Applies to