AlterColumnOperation Class

Represents altering an existing column.


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

public class AlterColumnOperation : MigrationOperation

The AlterColumnOperation type exposes the following members.

Public methodAlterColumnOperation(String, ColumnModel, Boolean, Object) Initializes a new instance of the AlterColumnOperation class.
Public methodAlterColumnOperation(String, ColumnModel, Boolean, AlterColumnOperation, Object) Initializes a new instance of the AlterColumnOperation class.

Public propertyAnonymousArguments Gets additional arguments that may be processed by providers. (Inherited from MigrationOperation.)
Public propertyColumn Gets the new definition for the column.
Public propertyInverse Gets an operation that represents reverting the alteration. The inverse cannot be automatically calculated, if it was not supplied to the constructor this property will return null. (Overrides MigrationOperation.Inverse.)
Public propertyIsDestructiveChangeGets a value indicating whether the change is destructive. (Overrides MigrationOperation.IsDestructiveChange.)
Public propertyTable Gets the name of the table that 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.