IConventionSequence.SetStartValue(Nullable<Int64>, Boolean) 方法

定义

设置序列将开始的值。

public void SetStartValue (long? startValue, bool fromDataAnnotation = false);
public long? SetStartValue (long? startValue, bool fromDataAnnotation = false);
abstract member SetStartValue : Nullable<int64> * bool -> unit
abstract member SetStartValue : Nullable<int64> * bool -> Nullable<int64>
Public Sub SetStartValue (startValue As Nullable(Of Long), Optional fromDataAnnotation As Boolean = false)
Public Function SetStartValue (startValue As Nullable(Of Long), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Long)

参数

startValue
Nullable<Int64>

序列将启动的值。

fromDataAnnotation
Boolean

指示是否使用数据注释指定配置。

返回

配置的值。

适用于