DropTableOperation Class
Collapse the table of content
Expand the table of content

DropTableOperation Class

Entity Framework 5.0

Represents dropping an existing table.


Namespace:  System.Data.Entity.Migrations.Model
Assembly:  EntityFramework (in EntityFramework.dll)

public class DropTableOperation : MigrationOperation

The DropTableOperation type exposes the following members.

Public methodDropTableOperation(String, Object) Initializes a new instance of the DropTableOperation class.
Public methodDropTableOperation(String, CreateTableOperation, Object) Initializes a new instance of the DropTableOperation class.

Public propertyAnonymousArguments Gets additional arguments that may be processed by providers. (Inherited from MigrationOperation.)
Public propertyInverse 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. (Overrides MigrationOperation.Inverse.)
Public propertyIsDestructiveChangeGets a value indicating whether the change is destructive. (Overrides MigrationOperation.IsDestructiveChange.)
Public propertyName Gets the name of the table to be dropped.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft