Table of Contents

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

Type

IncrementBy

Gets the amount incremented to obtain each new value in the sequence.

int IncrementBy { get; }

Property Value

int

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

bool

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

string

Schema

Gets the database schema that contains the sequence.

string Schema { get; }

Property Value

string

StartValue

Gets the value at which the sequence will start.

long StartValue { get; }

Property Value

long

Type

Gets the Type of values returned by the sequence.

Type Type { get; }

Property Value

Type