DropTableOperation Class

Definition

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

Constructors

DropTableOperation(String, CreateTableOperation, Object)

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

DropTableOperation(String, IDictionary<String,Object>, IDictionary<String,IDictionary<String,Object>>, CreateTableOperation, Object)

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

DropTableOperation(String, IDictionary<String,Object>, IDictionary<String,IDictionary<String,Object>>, Object)

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

DropTableOperation(String, Object)

Initializes a new instance of the DropTableOperation 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)
Inverse

Gets an operation that represents reverting dropping the table. 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.

Name

Gets the name of the table to be dropped.

RemovedAnnotations

Gets custom annotations that exist on the table that is being dropped.

RemovedColumnAnnotations

Gets custom annotations that exist on columns of the table that is being dropped.

Applies to