Share via


RelationalPrimitiveCollectionBuilderExtensions.HasColumnOrder Method

Definition

Overloads

HasColumnOrder(PrimitiveCollectionBuilder, Nullable<Int32>)

Configures the order of the column the property is mapped to.

HasColumnOrder<TProperty>(PrimitiveCollectionBuilder<TProperty>, Nullable<Int32>)

Configures the order of the column the property is mapped to.

HasColumnOrder(PrimitiveCollectionBuilder, Nullable<Int32>)

Source:
RelationalPrimitiveCollectionBuilderExtensions.cs
Source:
RelationalPrimitiveCollectionBuilderExtensions.cs

Configures the order of the column the property is mapped to.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder HasColumnOrder (this Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder primitiveCollectionBuilder, int? order);
static member HasColumnOrder : Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder * Nullable<int> -> Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder
<Extension()>
Public Function HasColumnOrder (primitiveCollectionBuilder As PrimitiveCollectionBuilder, order As Nullable(Of Integer)) As PrimitiveCollectionBuilder

Parameters

primitiveCollectionBuilder
PrimitiveCollectionBuilder

The builder of the property being configured.

order
Nullable<Int32>

The column order.

Returns

The same builder instance so that multiple calls can be chained.

Applies to

HasColumnOrder<TProperty>(PrimitiveCollectionBuilder<TProperty>, Nullable<Int32>)

Source:
RelationalPrimitiveCollectionBuilderExtensions.cs
Source:
RelationalPrimitiveCollectionBuilderExtensions.cs

Configures the order of the column the property is mapped to.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder<TProperty> HasColumnOrder<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder<TProperty> primitiveCollectionBuilder, int? order);
static member HasColumnOrder : Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder<'Property> * Nullable<int> -> Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder<'Property>
<Extension()>
Public Function HasColumnOrder(Of TProperty) (primitiveCollectionBuilder As PrimitiveCollectionBuilder(Of TProperty), order As Nullable(Of Integer)) As PrimitiveCollectionBuilder(Of TProperty)

Type Parameters

TProperty

Parameters

primitiveCollectionBuilder
PrimitiveCollectionBuilder<TProperty>

The builder of the property being configured.

order
Nullable<Int32>

The column order.

Returns

The same builder instance so that multiple calls can be chained.

Applies to