SequenceBuilder.IConventionSequenceBuilder.CanSetIncrementsBy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
true if the given increment can be set for the sequence.