Interface IMutableSequence
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Represents a database sequence in the Microsoft.EntityFrameworkCore.Metadata.IMutableModel in a form that can be mutated while building the model.
public interface IMutableSequence : ISequence, IAnnotatable, IMutableAnnotatable
- Inherited Members
Properties
ClrType
Gets or sets the Type of values returned by the sequence.
[Obsolete("Use Type")]
Type ClrType { get; set; }
Property Value
IncrementBy
Gets or sets the amount incremented to obtain each new value in the sequence.
int IncrementBy { get; set; }
Property Value
IsCyclic
Gets or sets the a value indicating whether the sequence will start again from the beginning when the max value is reached.
bool IsCyclic { get; set; }
Property Value
MaxValue
Gets or sets the maximum value supported by the sequence, or null if none has been set.
long? MaxValue { get; set; }
Property Value
- long?
MinValue
Gets or sets the minimum value supported by the sequence, or null if none has been set.
long? MinValue { get; set; }
Property Value
- long?
Model
Gets the Microsoft.EntityFrameworkCore.Metadata.IMutableModel in which this sequence is defined.
IMutableModel Model { get; }
Property Value
- IMutableModel
StartValue
Gets or sets the value at which the sequence will start.
long StartValue { get; set; }
Property Value
Type
Gets or sets the Type of values returned by the sequence.
Type Type { get; set; }