語言

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

包含欄位的類表格儲存物件的識別碼。

傳回

該物業所映射的欄位。

適用於