Dela via


RelationalPropertyExtensions.FindColumn Method

Definition

Returns the column corresponding to this property if it's mapped to the given table-like store object.

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

Parameters

property
IProperty

The property.

storeObject
StoreObjectIdentifier

The identifier of the table-like store object containing the column.

Returns

The column to which the property is mapped.

Applies to