Share via


AlterColumnOperation Class

Definition

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.

public class AlterColumnOperation : System.Data.Entity.Migrations.Model.MigrationOperation
type AlterColumnOperation = class
    inherit MigrationOperation
Public Class AlterColumnOperation
Inherits MigrationOperation
Inheritance
AlterColumnOperation

Constructors

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

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

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

Gets the new definition for the column.

Inverse

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.

IsDestructiveChange

Gets a value indicating if this operation may result in data loss.

Table

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

Applies to