Share via


SequenceBuilder.IConventionSequenceBuilder.CanSetCyclic Method

Definition

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

bool IConventionSequenceBuilder.CanSetCyclic (bool? cyclic, bool fromDataAnnotation);
abstract member Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSequenceBuilder.CanSetCyclic : Nullable<bool> * bool -> bool
override this.Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSequenceBuilder.CanSetCyclic : Nullable<bool> * bool -> bool
Function CanSetCyclic (cyclic As Nullable(Of Boolean), fromDataAnnotation As Boolean) As Boolean Implements IConventionSequenceBuilder.CanSetCyclic

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.

Implements

Applies to