Share via


RelationalTypeMapperExtensions.IsTypeMapped Method

Definition

Gets a value indicating whether the given .NET type is mapped.

public static bool IsTypeMapped (this Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper typeMapper, Type clrType);
static member IsTypeMapped : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper * Type -> bool
<Extension()>
Public Function IsTypeMapped (typeMapper As IRelationalTypeMapper, clrType As Type) As Boolean

Parameters

typeMapper
IRelationalTypeMapper

The type mapper.

clrType
Type

The .NET type.

Returns

True if the type can be mapped; otherwise false.

Applies to