RelationalPropertyExtensions.FindColumn 方法

定义

如果映射到给定的类似表的存储对象,则返回与此属性对应的列。

public static Microsoft.EntityFrameworkCore.Metadata.IColumnBase FindColumn (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public static Microsoft.EntityFrameworkCore.Metadata.IColumnBase? FindColumn (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindColumn : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IColumnBase
<Extension()>
Public Function FindColumn (property As IProperty, ByRef storeObject As StoreObjectIdentifier) As IColumnBase

参数

property
IProperty

属性。

storeObject
StoreObjectIdentifier

包含列的类似表的存储对象的标识符。

返回

属性映射到的列。

适用于