共用方式為


ISqlExpressionFactory.FindMapping(Type) 方法

定義

警告

Use IRelationalTypeMappingSource directly.

尋找指定 Type 之 的型別對應。

public Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping FindMapping (Type type);
[System.Obsolete("Use IRelationalTypeMappingSource directly.")]
public Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping FindMapping (Type type);
[System.Obsolete("Use IRelationalTypeMappingSource directly.")]
public Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? FindMapping (Type type);
abstract member FindMapping : Type -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
[<System.Obsolete("Use IRelationalTypeMappingSource directly.")>]
abstract member FindMapping : Type -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Public Function FindMapping (type As Type) As RelationalTypeMapping

參數

type
Type

CLR 型別。

傳回

類型對應,如果找不到類型對應,則 null 為 。

屬性

適用於