src/Shared/EntityFramework/ModelConfiguration/Configuration/Properties/Primitive/Api/PrimitivePropertyConfiguration.cs
/// <summary>
/// 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.
/// </summary>
/// <param name="columnOrder"> The order that this column should appear in the database table. </param>
/// <returns> The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. </returns>
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.
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 PrimitivePropertyConfiguration HasColumnOrder(int? columnOrder)
        {
            if (!(columnOrder == null || columnOrder.Value >= 0))
            {
                throw new ArgumentOutOfRangeException("columnOrder");
            }
            Configuration.ColumnOrder = columnOrder;
            return this;
        }
public PrimitivePropertyConfiguration HasColumnOrder ( int ? columnOrder ) { if ( ! ( columnOrder == null || columnOrder . Value >= 0 ) ) { throw new ArgumentOutOfRangeException ( " " ) ; } Configuration . ColumnOrder = columnOrder ; return this ; }
Configures the order of the database column used to store the property.
Configures the order of the database column used to store the property .
The same PrimitivePropertyConfiguration instance so that multiple calls can be chained.
The same PrimitivePropertyConfiguration instance so that multiple calls can be chained .
columnOrder
int?
The order that this column should appear in the database table.
The order that this column should appear in the database table .