Table of Contents

Class RenameSequenceOperation

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

A MigrationOperation for renaming an existing sequence.

public class RenameSequenceOperation : MigrationOperation
Inheritance
RenameSequenceOperation
Inherited Members

Constructors

RenameSequenceOperation()

public RenameSequenceOperation()

Properties

Name

The old name of the sequence.

public virtual string Name { get; set; }

Property Value

string

NewName

The new sequence name or null if only the schema has changed.

public virtual string NewName { get; set; }

Property Value

string

NewSchema

The new schema name or null if only the name has changed.

public virtual string NewSchema { 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