IReadOnlyTypeBase.IsAssignableFrom(IReadOnlyTypeBase) Method

Definition

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

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

Parameters

derivedType
IReadOnlyTypeBase

The type to check whether it derives from this type.

Returns

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

Applies to