SequenceBuilder.IConventionSequenceBuilder.CanSetIncrementsBy Method

Definition

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

bool IConventionSequenceBuilder.CanSetIncrementsBy (int? increment, bool fromDataAnnotation);
abstract member Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSequenceBuilder.CanSetIncrementsBy : Nullable<int> * bool -> bool
override this.Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSequenceBuilder.CanSetIncrementsBy : Nullable<int> * bool -> bool
Function CanSetIncrementsBy (increment As Nullable(Of Integer), fromDataAnnotation As Boolean) As Boolean Implements IConventionSequenceBuilder.CanSetIncrementsBy

Parameters

increment
Nullable<Int32>

The amount to increment between values.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the given increment can be set for the sequence.

Implements

Applies to