共用方式為


RuntimeSequence 建構函式

定義

多載

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

初始化 RuntimeSequence 類別的新執行個體。

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

初始化 RuntimeSequence 類別的新執行個體。

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

初始化 RuntimeSequence 類別的新執行個體。

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)

參數

name
String

序列名稱。

model
RuntimeModel

模型本身。

type
Type

產生的數值型別。

schema
String

結構描述。

startValue
Int64

初始值。

incrementBy
Int32

值遞增。

cyclic
Boolean

序列是否為迴圈。

minValue
Nullable<Int64>

最小值。

maxValue
Nullable<Int64>

最大值。

適用於

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

初始化 RuntimeSequence 類別的新執行個體。

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)

參數

name
String

序列名稱。

model
RuntimeModel

模型本身。

type
Type

產生的數值型別。

schema
String

結構描述。

startValue
Int64

初始值。

incrementBy
Int32

值遞增。

cyclic
Boolean

序列是否為迴圈。

minValue
Nullable<Int64>

最小值。

maxValue
Nullable<Int64>

最大值。

modelSchemaIsNull
Boolean

值,指出 是否 ModelSchema 為 Null。

適用於