共用方式為


RelationalTypeMapperExtensions.IsTypeMapped 方法

定義

取得值,指出指定的 .NET 類型是否對應。

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

參數

typeMapper
IRelationalTypeMapper

類型對應器。

clrType
Type

.NET 類型。

傳回

如果類型可以對應,則為 True;否則為 false。

適用於