Share via


IConventionSequenceBuilder.CanSetCyclic Method

Definition

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

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

Parameters

cyclic
Nullable<Boolean>

If true, then the sequence with restart when the maximum is reached.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the given cyclicity can be set for the sequence.

Applies to