Share via


RuntimeSequence Constructors

Definition

Overloads

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

Initializes a new instance of the RuntimeSequence class.

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

Initializes a new instance of the RuntimeSequence class.

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

Initializes a new instance of the RuntimeSequence class.

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)

Parameters

name
String

The sequence name.

model
RuntimeModel

The model.

type
Type

The type of values generated.

schema
String

The schema.

startValue
Int64

The initial value.

incrementBy
Int32

The value increment.

cyclic
Boolean

Whether the sequence is cyclic.

minValue
Nullable<Int64>

The minimum value.

maxValue
Nullable<Int64>

The maximum value.

Applies to

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

Initializes a new instance of the RuntimeSequence class.

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)

Parameters

name
String

The sequence name.

model
RuntimeModel

The model.

type
Type

The type of values generated.

schema
String

The schema.

startValue
Int64

The initial value.

incrementBy
Int32

The value increment.

cyclic
Boolean

Whether the sequence is cyclic.

minValue
Nullable<Int64>

The minimum value.

maxValue
Nullable<Int64>

The maximum value.

modelSchemaIsNull
Boolean

A value indicating whether ModelSchema is null.

Applies to