ConventionPrimitivePropertyConfiguration.HasColumnOrder Method (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 virtual ConventionPrimitivePropertyConfiguration HasColumnOrder(
	int columnOrder
)

Parameters

columnOrder
Type: System.Int32

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

Calling this will have no effect once it has been configured.