Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MigrationOperation Class

 

Represents an operation to modify a database schema. 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.

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

System::Object
  System.Data.Entity.Migrations.Model::MigrationOperation
    System.Data.Entity.Migrations.Model::AddColumnOperation
    System.Data.Entity.Migrations.Model::AlterColumnOperation
    System.Data.Entity.Migrations.Model::AlterTableOperation
    System.Data.Entity.Migrations.Model::CreateTableOperation
    System.Data.Entity.Migrations.Model::DropColumnOperation
    System.Data.Entity.Migrations.Model::DropProcedureOperation
    System.Data.Entity.Migrations.Model::DropTableOperation
    System.Data.Entity.Migrations.Model::ForeignKeyOperation
    System.Data.Entity.Migrations.Model::HistoryOperation
    System.Data.Entity.Migrations.Model::IndexOperation
    System.Data.Entity.Migrations.Model::MoveProcedureOperation
    System.Data.Entity.Migrations.Model::MoveTableOperation
    System.Data.Entity.Migrations.Model::NotSupportedOperation
    System.Data.Entity.Migrations.Model::PrimaryKeyOperation
    System.Data.Entity.Migrations.Model::ProcedureOperation
    System.Data.Entity.Migrations.Model::RenameColumnOperation
    System.Data.Entity.Migrations.Model::RenameIndexOperation
    System.Data.Entity.Migrations.Model::RenameProcedureOperation
    System.Data.Entity.Migrations.Model::RenameTableOperation
    System.Data.Entity.Migrations.Model::SqlOperation
    System.Data.Entity.Migrations.Model::UpdateDatabaseOperation

public ref class MigrationOperation abstract 

NameDescription
System_CAPS_protmethodMigrationOperation(Object^)

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

NameDescription
System_CAPS_pubpropertyAnonymousArguments

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.

System_CAPS_pubpropertyInverse

Gets an operation that will revert this operation.

System_CAPS_pubpropertyIsDestructiveChange

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

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: