Share via


RelationalComplexTypePropertyBuilderExtensions.HasColumnOrder Method

Definition

Overloads

HasColumnOrder(ComplexTypePropertyBuilder, Nullable<Int32>)

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

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

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

HasColumnOrder(ComplexTypePropertyBuilder, Nullable<Int32>)

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

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

Parameters

propertyBuilder
ComplexTypePropertyBuilder

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

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

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

Type Parameters

TProperty

Parameters

propertyBuilder
ComplexTypePropertyBuilder<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