Jazyk

IConventionSequence.SetIncrementBy(Nullable<Int32>, Boolean) Metoda

Definice

Nastaví hodnotu inkrementovanou pro získání každé nové hodnoty v sekvenci.

public int? SetIncrementBy(int? incrementBy, bool fromDataAnnotation = false);
public void SetIncrementBy(int? incrementBy, bool fromDataAnnotation = false);
abstract member SetIncrementBy : Nullable<int> * bool -> Nullable<int>
abstract member SetIncrementBy : Nullable<int> * bool -> unit
Public Function SetIncrementBy (incrementBy As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)
Public Sub SetIncrementBy (incrementBy As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false)

Parametry

incrementBy
Nullable<Int32>

Částka se zvýší, aby získala každou novou hodnotu v sekvenci.

fromDataAnnotation
Boolean

Určuje, jestli byla konfigurace zadána pomocí datové poznámky.

Návraty

Nakonfigurovaná hodnota.

Platí pro