AlterColumnOperation Class

 

Represents altering 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.

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

System.Object
  System.Data.Entity.Migrations.Model.MigrationOperation
    System.Data.Entity.Migrations.Model.AlterColumnOperation

public class AlterColumnOperation : MigrationOperation

NameDescription
System_CAPS_pubmethodAlterColumnOperation(String, ColumnModel, Boolean, AlterColumnOperation, Object)

Initializes a new instance of the AlterColumnOperation 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.

System_CAPS_pubmethodAlterColumnOperation(String, ColumnModel, Boolean, Object)

Initializes a new instance of the AlterColumnOperation 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.

NameDescription
System_CAPS_pubpropertyAnonymousArguments

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.)

System_CAPS_pubpropertyColumn

Gets the new definition for the column.

System_CAPS_pubpropertyInverse

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.)

System_CAPS_pubpropertyIsDestructiveChange

Gets a value indicating whether this change will result in data loss.(Overrides MigrationOperation.IsDestructiveChange.)

System_CAPS_pubpropertyTable

Gets the name of the table that the column belongs to.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.