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
Remarks
See Database migrations for more information and examples.
Constructors
RenameSequenceOperation()
public RenameSequenceOperation()
Properties
Name
The old name of the sequence.
public virtual string Name { get; set; }
Property Value
NewName
The new sequence name or null if only the schema has changed.
public virtual string? NewName { get; set; }
Property Value
NewSchema
The new schema name or null if only the name has changed.
public virtual string? NewSchema { 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; }