Share via


IConventionSequence.SetIsCyclic(Nullable<Boolean>, Boolean) Method

Definition

Sets whether the sequence will start again from the beginning when the max value is reached.

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

Parameters

cyclic
Nullable<Boolean>

If true, then the sequence will start again from the beginning when the max value is reached.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The configured value.

Applies to