Share via


IConventionSequenceBuilder.StartsAt(Nullable<Int64>, Boolean) Method

Definition

Sets the sequence to start at the given value.

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

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.

Applies to