AlterTableOperation Class

Definition

Represents changes made to custom annotations on 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 AlterTableOperation : System.Data.Entity.Migrations.Model.MigrationOperation
type AlterTableOperation = class
    inherit MigrationOperation
Public Class AlterTableOperation
Inherits MigrationOperation
Inheritance
AlterTableOperation

Constructors

AlterTableOperation(String, IDictionary<String,AnnotationValues>, Object)

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

Annotations

Gets the custom annotations that have changed on the table.

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

Gets the columns to be included in the table for which annotations have changed.

Inverse

Gets an operation that is the inverse of this one such that annotations will be changed back to how they were before this operation was applied.

IsDestructiveChange

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

Name

Gets the name of the table on which annotations have changed.

Applies to