AddColumnOperation AddColumnOperation 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
AddColumnOperationAddColumnOperationAddColumnOperation

Constructors

AddColumnOperation(String, ColumnModel, Object) AddColumnOperation(String, ColumnModel, Object) 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 AnonymousArguments 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 Column Column

Gets the details of the column being added.

Inverse Inverse Inverse

Gets an operation that represents dropping the added column.

IsDestructiveChange IsDestructiveChange IsDestructiveChange
Table Table Table

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

Applies to