OperationExecutor.AddMigration Constructors

Definition

Overloads

OperationExecutor.AddMigration(OperationExecutor, IOperationResultHandler, IDictionary)

Initializes a new instance of the OperationExecutor.AddMigration class.

OperationExecutor.AddMigration(OperationExecutor, Object, IDictionary)

Initializes a new instance of the OperationExecutor.AddMigration class.

The arguments supported by args are:

name--The name of the migration.

outputDir--The directory (and sub-namespace) to use. Paths are relative to the project directory. Defaults to "Migrations".

contextType--The DbContext type to use.

OperationExecutor.AddMigration(OperationExecutor, IOperationResultHandler, IDictionary)

Initializes a new instance of the OperationExecutor.AddMigration class.

public AddMigration (Microsoft.EntityFrameworkCore.Design.OperationExecutor executor, Microsoft.EntityFrameworkCore.Design.IOperationResultHandler resultHandler, System.Collections.IDictionary args);
new Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigration : Microsoft.EntityFrameworkCore.Design.OperationExecutor * Microsoft.EntityFrameworkCore.Design.IOperationResultHandler * System.Collections.IDictionary -> Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigration
Public Sub New (executor As OperationExecutor, resultHandler As IOperationResultHandler, args As IDictionary)

Parameters

executor
OperationExecutor

The operation executor.

args
IDictionary

The operation arguments.

Remarks

The arguments supported by args are:

name--The name of the migration.

outputDir--The directory (and sub-namespace) to use. Paths are relative to the project directory. Defaults to "Migrations".

contextType--The DbContext type to use.

Applies to

OperationExecutor.AddMigration(OperationExecutor, Object, IDictionary)

Initializes a new instance of the OperationExecutor.AddMigration class.

The arguments supported by args are:

name--The name of the migration.

outputDir--The directory (and sub-namespace) to use. Paths are relative to the project directory. Defaults to "Migrations".

contextType--The DbContext type to use.

public AddMigration (Microsoft.EntityFrameworkCore.Design.OperationExecutor executor, object resultHandler, System.Collections.IDictionary args);
new Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigration : Microsoft.EntityFrameworkCore.Design.OperationExecutor * obj * System.Collections.IDictionary -> Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigration
Public Sub New (executor As OperationExecutor, resultHandler As Object, args As IDictionary)

Parameters

executor
OperationExecutor

The operation executor.

resultHandler
Object

The IOperationResultHandler.

args
IDictionary

The operation arguments.

Applies to