Interface ISequence
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Represents a database sequence in the Microsoft.EntityFrameworkCore.Metadata.IModel.
public interface ISequence : IAnnotatable
- Extension Methods
Properties
ClrType
Gets the Type of values returned by the sequence.
[Obsolete("Use Type")]
Type ClrType { get; }
Property Value
IncrementBy
Gets the amount incremented to obtain each new value in the sequence.
int IncrementBy { get; }
Property Value
IsCyclic
Gets the value indicating whether the sequence will start again from the beginning when the max value is reached.
bool IsCyclic { get; }
Property Value
MaxValue
Gets the maximum value supported by the sequence, or null if none has been set.
long? MaxValue { get; }
Property Value
- long?
MinValue
Gets the minimum value supported by the sequence, or null if none has been set.
long? MinValue { get; }
Property Value
- long?
Model
Gets the Microsoft.EntityFrameworkCore.Metadata.IModel in which this sequence is defined.
IModel Model { get; }
Property Value
- IModel
Name
Gets the name of the sequence in the database.
string Name { get; }
Property Value
Schema
Gets the database schema that contains the sequence.
string Schema { get; }
Property Value
StartValue
Gets the value at which the sequence will start.
long StartValue { get; }
Property Value
Type
Gets the Type of values returned by the sequence.
Type Type { get; }