Share via


MigrationOperation Class

Definition

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.

public abstract class MigrationOperation
type MigrationOperation = class
Public MustInherit Class MigrationOperation
Inheritance
MigrationOperation
Derived

Constructors

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

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.

Inverse

Gets an operation that will revert this operation.

IsDestructiveChange

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

Applies to