Share via


AddColumnOperation Class

Definition

Represents a column being added to a table.

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

Constructors

AddColumnOperation(String, ColumnModel, Object)

Initializes a new instance of the AddColumnOperation 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 details of the column being added.

Inverse

Gets an operation that represents dropping the added column.

IsDestructiveChange

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

Table

Gets the name of the table the column should be added to.

Applies to