DateTimePropertyConfiguration.HasColumnOrder Method (Nullable<Int32>)

 

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.

Namespace:   System.Data.Entity.ModelConfiguration.Configuration
Assembly:  EntityFramework (in EntityFramework.dll)

public DateTimePropertyConfiguration HasColumnOrder(
	Nullable<int> columnOrder
)

Parameters

columnOrder
Type: System.Nullable<Int32>

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

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration

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