DateTimePropertyConfiguration.HasColumnOrder(Nullable<Int32>) Method

Definition

Configures the order of the database 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.DateTimePropertyConfiguration HasColumnOrder (Nullable<int> columnOrder);
override this.HasColumnOrder : Nullable<int> -> System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration
Public Function HasColumnOrder (columnOrder As Nullable(Of Integer)) As DateTimePropertyConfiguration

Parameters

columnOrder
Nullable<Int32>

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

Returns

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

Applies to