Share via


RenameColumnOperation Class

Definition

Represents renaming an existing column.

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

Constructors

RenameColumnOperation(String, String, String, Object)

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

NewName

Gets the new name for the column.

Table

Gets the name of the table the column belongs to.

Applies to