Compartilhar via


RelationalPropertyExtensions.GetColumnOrder Method

Definition

Overloads

GetColumnOrder(IReadOnlyProperty)

Returns the order of the column this property is mapped to.

GetColumnOrder(IReadOnlyProperty, StoreObjectIdentifier)

Returns the order of the column this property is mapped to for a particular table.

GetColumnOrder(IReadOnlyProperty)

Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs

Returns the order of the column this property is mapped to.

public static int? GetColumnOrder (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetColumnOrder : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Nullable<int>
<Extension()>
Public Function GetColumnOrder (property As IReadOnlyProperty) As Nullable(Of Integer)

Parameters

property
IReadOnlyProperty

The property.

Returns

The column order.

Applies to

GetColumnOrder(IReadOnlyProperty, StoreObjectIdentifier)

Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs

Returns the order of the column this property is mapped to for a particular table.

public static int? GetColumnOrder (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetColumnOrder : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> Nullable<int>
<Extension()>
Public Function GetColumnOrder (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of Integer)

Parameters

property
IReadOnlyProperty

The property.

storeObject
StoreObjectIdentifier

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

Returns

The column order.

Applies to