语言

IColumnBase.FindColumnMapping(IReadOnlyEntityType) 方法

定义

返回给定实体类型的属性映射。

public virtual Microsoft.EntityFrameworkCore.Metadata.IColumnMappingBase? FindColumnMapping(Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
abstract member FindColumnMapping : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IColumnMappingBase
override this.FindColumnMapping : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IColumnMappingBase
Public Overridable Function FindColumnMapping (entityType As IReadOnlyEntityType) As IColumnMappingBase

参数

entityType
IReadOnlyEntityType

实体类型。

返回

属性映射或 null 找不到。

适用于