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.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- columnOrder
-
Type:
System.Int32
The order that this column should appear in the database table.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfigurationThe same ConventionPrimitivePropertyConfiguration instance so that multiple calls can be chained.
Calling this will have no effect once it has been configured.