Share via


IConventionSequenceBuilder.CanSetStartsAt Method

Definition

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

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

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.

Applies to