Share via


PrimitiveColumnConfiguration.HasColumnOrder(Nullable<Int32>) Method

Definition

Configures the order of the primitive column used to store the property. This method is also used to specify key ordering when an entity type has a composite key.

public System.Data.Entity.ModelConfiguration.Configuration.PrimitiveColumnConfiguration HasColumnOrder (Nullable<int> columnOrder);
member this.HasColumnOrder : Nullable<int> -> System.Data.Entity.ModelConfiguration.Configuration.PrimitiveColumnConfiguration
Public Function HasColumnOrder (columnOrder As Nullable(Of Integer)) As PrimitiveColumnConfiguration

Parameters

columnOrder
Nullable<Int32>

The order that this column should appear in the database table.

Returns

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

Applies to