Share via


SequenceBuilder.IConventionSequenceBuilder.StartsAt Method

Definition

Sets the sequence to start at the given value.

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

Parameters

startValue
Nullable<Int64>

The starting value for the sequence.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The same builder instance if the configuration was applied, null otherwise.

Implements

Applies to