IConventionSequenceBuilder Interface
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.
Provides a simple API for configuring a IConventionSequence.
public interface IConventionSequenceBuilder
public interface IConventionSequenceBuilder : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder
type IConventionSequenceBuilder = interface
type IConventionSequenceBuilder = interface
interface IConventionAnnotatableBuilder
Public Interface IConventionSequenceBuilder
Public Interface IConventionSequenceBuilder
Implements IConventionAnnotatableBuilder
- Derived
- Implements
Remarks
See Model building conventions for more information and examples.
Properties
Metadata |
The sequence being configured. |
ModelBuilder |
Gets the model builder. (Inherited from IConventionAnnotatableBuilder) |
Methods
CanRemoveAnnotation(String, Boolean) |
Returns a value indicating whether an annotation with the given name can be removed using this configuration source. (Inherited from IConventionAnnotatableBuilder) |
CanSetAnnotation(String, Object, Boolean) |
Returns a value indicating whether an annotation with the given name and value can be set from this configuration source. (Inherited from IConventionAnnotatableBuilder) |
CanSetCyclic(Nullable<Boolean>, Boolean) |
Returns a value indicating whether the given cyclicity can be set for the sequence. |
CanSetIncrementsBy(Nullable<Int32>, Boolean) |
Returns a value indicating whether the given increment can be set for the sequence. |
CanSetIsCyclic(Nullable<Boolean>, Boolean) |
Returns a value indicating whether the given cyclicity can be set for the sequence. |
CanSetMax(Nullable<Int64>, Boolean) |
Returns a value indicating whether the given maximum value can be set for the sequence. |
CanSetMin(Nullable<Int64>, Boolean) |
Returns a value indicating whether the given minimum value can be set for the sequence. |
CanSetStartsAt(Nullable<Int64>, Boolean) |
Returns a value indicating whether the given starting value can be set for the sequence. |
CanSetType(Type, Boolean) |
Returns a value indicating whether the given type can be set for the sequence. |
HasAnnotation(String, Object, Boolean) |
Sets the annotation stored under the given name. Overwrites the existing annotation if an annotation with the specified name already exists with same or lower ConfigurationSource. |
HasMax(Nullable<Int64>, Boolean) |
Sets the maximum value for the sequence. |
HasMin(Nullable<Int64>, Boolean) |
Sets the minimum value for the sequence. |
HasNoAnnotation(String, Boolean) |
Removes the annotation with the given name from this object. |
HasNonNullAnnotation(String, Object, Boolean) |
Sets the annotation stored under the given name. Overwrites the existing annotation if an
annotation with the specified name already exists with same or lower ConfigurationSource.
Removes the annotation if |
HasType(Type, Boolean) |
Sets the type of values returned by the sequence. |
IncrementsBy(Nullable<Int32>, Boolean) |
Sets the sequence to increment by the given amount when generating each next value. |
IsCyclic(Nullable<Boolean>, Boolean) |
Sets whether or not the sequence will start again from the beginning once the maximum value is reached. |
RemoveAnnotation(String, Boolean) |
Obsolete.
Removes the annotation with the given name from this object. (Inherited from IConventionAnnotatableBuilder) |
SetOrRemoveAnnotation(String, Object, Boolean) |
Obsolete.
Sets or removes the annotation stored under the given name. (Inherited from IConventionAnnotatableBuilder) |
StartsAt(Nullable<Int64>, Boolean) |
Sets the sequence to start at the given value. |
Applies to
Entity Framework