IConventionSequence.SetMinValue(Nullable<Int64>, Boolean) Method

Definition

Sets the minimum value supported by the sequence.

C#
public void SetMinValue (long? minValue, bool fromDataAnnotation = false);
C#
public long? SetMinValue (long? minValue, bool fromDataAnnotation = false);

Parameters

minValue
Nullable<Int64>

The minimum value supported by the sequence.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The configured value.

Applies to

Product Versions
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0