IReadOnlyTypeBase.IsAssignableFrom(IReadOnlyTypeBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework