Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MigrationOperation Class
Collapse the table of content
Expand the table of content

MigrationOperation Class

Entity Framework 5.0

Represents an operation to modify a database schema.


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

public abstract class MigrationOperation

The MigrationOperation type exposes the following members.

Protected methodMigrationOperation Initializes a new instance of the MigrationOperation class.

Public propertyAnonymousArguments Gets additional arguments that may be processed by providers.
Public propertyInverse Gets an operation that will revert this operation.
Public propertyIsDestructiveChange Gets a value indicating if this operation may result in data loss.

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