Sprache

SqlServerModelExtensions.SetIdentityIncrement Methode

Definition

Überlädt

Name Beschreibung
SetIdentityIncrement(IMutableModel, Nullable<Int32>)

Legt den Standardidentitätsschritt fest.

SetIdentityIncrement(IConventionModel, Nullable<Int32>, Boolean)

Legt den Standardidentitätsschritt fest.

SetIdentityIncrement(IMutableModel, Nullable<Int32>)

Quelle:
SqlServerModelExtensions.cs
Quelle:
SqlServerModelExtensions.cs
Quelle:
SqlServerModelExtensions.cs
Quelle:
SqlServerModelExtensions.cs
Quelle:
SqlServerModelExtensions.cs
Quelle:
SqlServerModelExtensions.cs
Quelle:
SqlServerModelExtensions.cs
Quelle:
SqlServerModelExtensions.cs
Quelle:
SqlServerModelExtensions.cs

Legt den Standardidentitätsschritt fest.

public static void SetIdentityIncrement(this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, int? increment);
static member SetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Nullable<int> -> unit
<Extension()>
Public Sub SetIdentityIncrement (model As IMutableModel, increment As Nullable(Of Integer))

Parameter

model
IMutableModel

Das Modell.

increment
Nullable<Int32>

Der Wert, der festgelegt werden soll.

Gilt für:

SetIdentityIncrement(IConventionModel, Nullable<Int32>, Boolean)

Quelle:
SqlServerModelExtensions.cs
Quelle:
SqlServerModelExtensions.cs
Quelle:
SqlServerModelExtensions.cs
Quelle:
SqlServerModelExtensions.cs
Quelle:
SqlServerModelExtensions.cs
Quelle:
SqlServerModelExtensions.cs
Quelle:
SqlServerModelExtensions.cs
Quelle:
SqlServerModelExtensions.cs
Quelle:
SqlServerModelExtensions.cs

Legt den Standardidentitätsschritt fest.

public static int? SetIdentityIncrement(this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, int? increment, bool fromDataAnnotation = false);
public static void SetIdentityIncrement(this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, int? increment, bool fromDataAnnotation = false);
static member SetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Nullable<int> * bool -> Nullable<int>
static member SetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Nullable<int> * bool -> unit
<Extension()>
Public Function SetIdentityIncrement (model As IConventionModel, increment As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)
<Extension()>
Public Sub SetIdentityIncrement (model As IConventionModel, increment As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false)

Parameter

model
IConventionModel

Das Modell.

increment
Nullable<Int32>

Der Wert, der festgelegt werden soll.

fromDataAnnotation
Boolean

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

Gibt zurück

Der konfigurierte Wert.

Gilt für: