Compartir a través de


IConventionSequence.SetMaxValue(Nullable<Int64>, Boolean) Método

Definición

Establece el valor máximo admitido por la secuencia.

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

Parámetros

maxValue
Nullable<Int64>

Valor máximo admitido por la secuencia.

fromDataAnnotation
Boolean

Indica si la configuración se especificó mediante una anotación de datos.

Devoluciones

El valor configurado.

Se aplica a