MigrationOperation MigrationOperation 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
MigrationOperationMigrationOperationMigrationOperation
Derived

Constructors

MigrationOperation(Object) MigrationOperation(Object) 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 AnonymousArguments 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 Inverse Inverse

Gets an operation that will revert this operation.

IsDestructiveChange IsDestructiveChange IsDestructiveChange

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

Applies to