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
Schema
The schema that contains the sequence, or null if the default schema should be used.
public virtual string Schema { get; set; }
Property Value
StartValue
The value at which the sequence should re-start, defaulting to 1.
public virtual long StartValue { get; set; }