DecimalPropertyConfiguration.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 DecimalPropertyConfiguration HasColumnOrder(
	Nullable<int> columnOrder


Type: System.Nullable<Int32>

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

Return Value

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

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

Return to top