ISqlExpressionFactory.FindMapping(Type) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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
找到,则为 。
- 属性