IConventionSequence.SetMaxValue(Nullable<Int64>, Boolean) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit la valeur maximale prise en charge par la séquence.
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)
Paramètres
- fromDataAnnotation
- Boolean
Indique si la configuration a été spécifiée à l’aide d’une annotation de données.
Retours
Valeur configurée.