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

包含資料行之類似資料表的存放區物件的識別碼。

傳回

屬性對應的資料行。

適用於