Share via


SequenceBuilder.HasMax(Int64) Method

Definition

Sets the maximum value for the ISequence.

public virtual Microsoft.EntityFrameworkCore.Metadata.SequenceBuilder HasMax (long maximum);
abstract member HasMax : int64 -> Microsoft.EntityFrameworkCore.Metadata.SequenceBuilder
override this.HasMax : int64 -> Microsoft.EntityFrameworkCore.Metadata.SequenceBuilder
Public Overridable Function HasMax (maximum As Long) As SequenceBuilder

Parameters

maximum
Int64

The maximum value for the sequence.

Returns

The same builder so that multiple calls can be chained.

Applies to