Table of Contents

Class RestartSequenceOperation

Namespace
Microsoft.EntityFrameworkCore.Migrations.Operations
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

A MigrationOperation for re-starting an existing sequence.

public class RestartSequenceOperation : MigrationOperation
Inheritance
RestartSequenceOperation
Inherited Members

Constructors

RestartSequenceOperation()

public RestartSequenceOperation()

Properties

Name

The name of the sequence.

public virtual string Name { get; set; }

Property Value

string

Schema

The schema that contains the sequence, or null if the default schema should be used.

public virtual string Schema { get; set; }

Property Value

string

StartValue

The value at which the sequence should re-start, defaulting to 1.

public virtual long StartValue { get; set; }

Property Value

long