Sdílet prostřednictvím


RuntimeSequence Konstruktory

Definice

Přetížení

RuntimeSequence(String, RuntimeModel, Type, String, Int64, Int32, Boolean, Nullable<Int64>, Nullable<Int64>)

Inicializuje novou instanci RuntimeSequence třídy.

RuntimeSequence(String, RuntimeModel, Type, String, Int64, Int32, Boolean, Nullable<Int64>, Nullable<Int64>, Boolean)

Inicializuje novou instanci RuntimeSequence třídy.

RuntimeSequence(String, RuntimeModel, Type, String, Int64, Int32, Boolean, Nullable<Int64>, Nullable<Int64>)

Zdroj:
RuntimeSequence.cs

Inicializuje novou instanci RuntimeSequence třídy.

public RuntimeSequence (string name, Microsoft.EntityFrameworkCore.Metadata.RuntimeModel model, Type type, string? schema = default, long startValue = 1, int incrementBy = 1, bool cyclic = false, long? minValue = default, long? maxValue = default);
new Microsoft.EntityFrameworkCore.Metadata.RuntimeSequence : string * Microsoft.EntityFrameworkCore.Metadata.RuntimeModel * Type * string * int64 * int * bool * Nullable<int64> * Nullable<int64> -> Microsoft.EntityFrameworkCore.Metadata.RuntimeSequence
Public Sub New (name As String, model As RuntimeModel, type As Type, Optional schema As String = Nothing, Optional startValue As Long = 1, Optional incrementBy As Integer = 1, Optional cyclic As Boolean = false, Optional minValue As Nullable(Of Long) = Nothing, Optional maxValue As Nullable(Of Long) = Nothing)

Parametry

name
String

Název sekvence.

model
RuntimeModel

Model.

type
Type

Typ vygenerovaných hodnot.

schema
String

Schéma.

startValue
Int64

Počáteční hodnota.

incrementBy
Int32

Přírůstek hodnoty.

cyclic
Boolean

Určuje, jestli je posloupnost cyklická.

minValue
Nullable<Int64>

Minimální hodnota.

maxValue
Nullable<Int64>

Maximální hodnota

Platí pro

RuntimeSequence(String, RuntimeModel, Type, String, Int64, Int32, Boolean, Nullable<Int64>, Nullable<Int64>, Boolean)

Zdroj:
RuntimeSequence.cs
Zdroj:
RuntimeSequence.cs
Zdroj:
RuntimeSequence.cs

Inicializuje novou instanci RuntimeSequence třídy.

public RuntimeSequence (string name, Microsoft.EntityFrameworkCore.Metadata.RuntimeModel model, Type type, string? schema = default, long startValue = 1, int incrementBy = 1, bool cyclic = false, long? minValue = default, long? maxValue = default, bool modelSchemaIsNull = false);
new Microsoft.EntityFrameworkCore.Metadata.RuntimeSequence : string * Microsoft.EntityFrameworkCore.Metadata.RuntimeModel * Type * string * int64 * int * bool * Nullable<int64> * Nullable<int64> * bool -> Microsoft.EntityFrameworkCore.Metadata.RuntimeSequence
Public Sub New (name As String, model As RuntimeModel, type As Type, Optional schema As String = Nothing, Optional startValue As Long = 1, Optional incrementBy As Integer = 1, Optional cyclic As Boolean = false, Optional minValue As Nullable(Of Long) = Nothing, Optional maxValue As Nullable(Of Long) = Nothing, Optional modelSchemaIsNull As Boolean = false)

Parametry

name
String

Název sekvence.

model
RuntimeModel

Model.

type
Type

Typ vygenerovaných hodnot.

schema
String

Schéma.

startValue
Int64

Počáteční hodnota.

incrementBy
Int32

Přírůstek hodnoty.

cyclic
Boolean

Určuje, jestli je posloupnost cyklická.

minValue
Nullable<Int64>

Minimální hodnota.

maxValue
Nullable<Int64>

Maximální hodnota

modelSchemaIsNull
Boolean

Hodnota označující, zda ModelSchema je null.

Platí pro