IConventionSequenceBuilder.CanSetIsCyclic Method

Definition

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

public bool CanSetIsCyclic (bool? cyclic, bool fromDataAnnotation = false);
abstract member CanSetIsCyclic : Nullable<bool> * bool -> bool
Public Function CanSetIsCyclic (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