Share via


OperationExecutor.DropDatabase Class

Definition

Represents an operation to drop the database.

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

Constructors

OperationExecutor.DropDatabase(OperationExecutor, IOperationResultHandler, IDictionary)

Initializes a new instance of the OperationExecutor.DropDatabase class.

OperationExecutor.DropDatabase(OperationExecutor, Object, IDictionary)

Initializes a new instance of the OperationExecutor.DropDatabase class.

The arguments supported by args are:

contextType--The DbContext to use.

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