共用方式為


IConventionSequenceBuilder.HasMin(Nullable<Int64>, Boolean) 方法

定義

設定序列的最小值。

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSequenceBuilder HasMin (long? minimum, bool fromDataAnnotation = false);
public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSequenceBuilder? HasMin (long? minimum, bool fromDataAnnotation = false);
abstract member HasMin : Nullable<int64> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSequenceBuilder
Public Function HasMin (minimum As Nullable(Of Long), Optional fromDataAnnotation As Boolean = false) As IConventionSequenceBuilder

參數

minimum
Nullable<Int64>

序列的最小值。

fromDataAnnotation
Boolean

指出是否已使用資料批註指定組態。

傳回

如果已套用組態,則為相同的產生器實例, null 否則為 。

適用於