Delen via


SequenceBuilder.IConventionSequenceBuilder.CanSetStartsAt Method

Definition

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

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

Parameters

startValue
Nullable<Int64>

The starting value for the sequence.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

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

Implements

Applies to