Share via


RenameIndexOperation Class

Definition

Represents renaming an existing index.

Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.

public class RenameIndexOperation : System.Data.Entity.Migrations.Model.MigrationOperation
type RenameIndexOperation = class
    inherit MigrationOperation
Public Class RenameIndexOperation
Inherits MigrationOperation
Inheritance
RenameIndexOperation

Constructors

RenameIndexOperation(String, String, String, Object)

Initializes a new instance of the RenameIndexOperation class.

Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.

Properties

AnonymousArguments

Gets additional arguments that may be processed by providers.

Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.

(Inherited from MigrationOperation)
Inverse

Gets an operation that reverts the rename.

IsDestructiveChange

Gets a value indicating if this operation may result in data loss.

Name

Gets the name of the index to be renamed.

NewName

Gets the new name for the index.

Table

Gets the name of the table the index belongs to.

Applies to