語言

SequenceBuilder.IConventionSequenceBuilder.CanSetMin 方法

定義

回傳一個值,表示是否可以設定該序列的最小值。

bool IConventionSequenceBuilder.CanSetMin(long? minimum, bool fromDataAnnotation);
abstract member Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSequenceBuilder.CanSetMin : Nullable<int64> * bool -> bool
override this.Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSequenceBuilder.CanSetMin : Nullable<int64> * bool -> bool
Function CanSetMin (minimum As Nullable(Of Long), fromDataAnnotation As Boolean) As Boolean Implements IConventionSequenceBuilder.CanSetMin

參數

minimum
Nullable<Int64>

序列的最小值。

fromDataAnnotation
Boolean

表示配置是否以資料註解方式指定。

傳回

true 如果該序列的最小值可以被設定。

實作

適用於