Dela via


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

Definition

Sets the minimum value supported by the sequence.

public void SetMinValue (long? minValue, bool fromDataAnnotation = false);
public long? SetMinValue (long? minValue, bool fromDataAnnotation = false);
abstract member SetMinValue : Nullable<int64> * bool -> unit
abstract member SetMinValue : Nullable<int64> * bool -> Nullable<int64>
Public Sub SetMinValue (minValue As Nullable(Of Long), Optional fromDataAnnotation As Boolean = false)
Public Function SetMinValue (minValue As Nullable(Of Long), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Long)

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