Share via


OperationExecutor.RemoveMigration Class

Definition

Represents an operation to remove the last migration.

public class OperationExecutor.RemoveMigration : Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase
type OperationExecutor.RemoveMigration = class
    inherit OperationExecutor.OperationBase
Public Class OperationExecutor.RemoveMigration
Inherits OperationExecutor.OperationBase
Inheritance
OperationExecutor.RemoveMigration
Inheritance
OperationExecutor.RemoveMigration

Constructors

OperationExecutor.RemoveMigration(OperationExecutor, IOperationResultHandler, IDictionary)

Initializes a new instance of the OperationExecutor.RemoveMigration class.

OperationExecutor.RemoveMigration(OperationExecutor, Object, IDictionary)

Initializes a new instance of the OperationExecutor.RemoveMigration class.

The arguments supported by args are:

contextType--The DbContext to use.

force--Don't check to see if the migration has been applied to the database.

Methods

Execute(Action)

Executes an action passing exceptions to the IOperationResultHandler.

(Inherited from OperationExecutor.OperationBase)
Execute<T>(Func<IEnumerable<T>>)

Executes an action passing results or exceptions to the IOperationResultHandler.

(Inherited from OperationExecutor.OperationBase)
Execute<T>(Func<T>)

Executes an action passing the result or exceptions to the IOperationResultHandler.

(Inherited from OperationExecutor.OperationBase)

Applies to