Share via


IConventionSequenceBuilder.CanSetIncrementsBy Method

Definition

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

public bool CanSetIncrementsBy (int? increment, bool fromDataAnnotation = false);
abstract member CanSetIncrementsBy : Nullable<int> * bool -> bool
Public Function CanSetIncrementsBy (increment As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Boolean

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.

Applies to