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

适用于