Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RenameColumnOperation Class
Collapse the table of content
Expand the table of content

RenameColumnOperation Class

Entity Framework 5.0

Represents renaming an existing column.


Namespace:  System.Data.Entity.Migrations.Model
Assembly:  EntityFramework (in EntityFramework.dll)

public class RenameColumnOperation : MigrationOperation

The RenameColumnOperation type exposes the following members.

Public methodRenameColumnOperation Initializes a new instance of the RenameColumnOperation class.

Public propertyAnonymousArguments Gets additional arguments that may be processed by providers. (Inherited from MigrationOperation.)
Public propertyInverse Gets an operation that reverts the rename. (Overrides MigrationOperation.Inverse.)
Public propertyIsDestructiveChangeGets a value indicating whether the change is destructive. (Overrides MigrationOperation.IsDestructiveChange.)
Public propertyName Gets the name of the column to be renamed.
Public propertyNewName Gets the new name for the column.
Public propertyTable Gets the name of the table the column belongs to.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft