Share via


SequenceBuilder.IConventionSequenceBuilder.CanSetMin Method

Definition

Returns a value indicating whether the given minimum value can be set for the sequence.

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

Parameters

minimum
Nullable<Int64>

The minimum value for the sequence.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the given minimum value can be set for the sequence.

Implements

Applies to