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 找到,则为 。

属性

适用于