Class RenameIndexOperation
- Namespace
- Microsoft.EntityFrameworkCore.Migrations.Operations
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
A MigrationOperation for renaming an existing index.
public class RenameIndexOperation : MigrationOperation
- Inheritance
-
RenameIndexOperation
- Inherited Members
Remarks
See Database migrations for more information and examples.
Constructors
RenameIndexOperation()
public RenameIndexOperation()
Properties
Name
The old name of the index.
public virtual string Name { get; set; }
Property Value
NewName
The new name for the index.
public virtual string NewName { get; set; }
Property Value
Schema
The schema that contains the table, or null if the default schema should be used.
public virtual string? Schema { get; set; }
Property Value
Table
The name of the table that contains the index.
public virtual string? Table { get; set; }