Share via


RelationalComplexTypePrimitiveCollectionBuilderExtensions.HasColumnOrder Method

Definition

Overloads

HasColumnOrder(ComplexTypePrimitiveCollectionBuilder, Nullable<Int32>)

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

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

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

HasColumnOrder(ComplexTypePrimitiveCollectionBuilder, Nullable<Int32>)

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

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

Parameters

primitiveCollectionBuilder
ComplexTypePrimitiveCollectionBuilder

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>(ComplexTypePrimitiveCollectionBuilder<TProperty>, Nullable<Int32>)

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

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

Type Parameters

TProperty

Parameters

primitiveCollectionBuilder
ComplexTypePrimitiveCollectionBuilder<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