Delen via


IConventionSequenceBuilder.CanSetMax(Nullable<Int64>, Boolean) Method

Definition

Returns a value indicating whether the given maximum value can be set for the sequence.

public bool CanSetMax (long? maximum, bool fromDataAnnotation = false);
abstract member CanSetMax : Nullable<int64> * bool -> bool
Public Function CanSetMax (maximum As Nullable(Of Long), Optional fromDataAnnotation As Boolean = false) As Boolean

Parameters

maximum
Nullable<Int64>

The maximum value for the sequence.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the given maximum value can be set for the sequence.

Applies to