Share via


RenameTableOperation Class

Definition

Represents renaming an existing table.

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 RenameTableOperation : System.Data.Entity.Migrations.Model.MigrationOperation
type RenameTableOperation = class
    inherit MigrationOperation
Public Class RenameTableOperation
Inherits MigrationOperation
Inheritance
RenameTableOperation

Constructors

RenameTableOperation(String, String, Object)

Initializes a new instance of the RenameTableOperation 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 table to be renamed.

NewName

Gets the new name for the table.

Applies to