Sprache

SequenceBuilder.IConventionSequenceBuilder.IsCyclic Methode

Definition

Legt fest, ob die Sequenz von Anfang an erneut gestartet wird, sobald der Maximalwert erreicht ist.

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

Parameter

cyclic
Nullable<Boolean>

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

fromDataAnnotation
Boolean

Gibt an, ob die Konfiguration mithilfe einer Datenanmerkung angegeben wurde.

Gibt zurück

Die gleiche Generatorinstanz, wenn die Konfiguration angewendet wurde, null andernfalls.

Implementiert

Gilt für: