Share via


OperationExecutor.GetMigrations Constructors

Definition

Overloads

OperationExecutor.GetMigrations(OperationExecutor, IOperationResultHandler, IDictionary)

Initializes a new instance of the OperationExecutor.GetMigrations class.

OperationExecutor.GetMigrations(OperationExecutor, Object, IDictionary)

Initializes a new instance of the OperationExecutor.GetMigrations class.

The arguments supported by args are:

contextType--The DbContext to use.

OperationExecutor.GetMigrations(OperationExecutor, IOperationResultHandler, IDictionary)

Initializes a new instance of the OperationExecutor.GetMigrations class.

public GetMigrations (Microsoft.EntityFrameworkCore.Design.OperationExecutor executor, Microsoft.EntityFrameworkCore.Design.IOperationResultHandler resultHandler, System.Collections.IDictionary args);
new Microsoft.EntityFrameworkCore.Design.OperationExecutor.GetMigrations : Microsoft.EntityFrameworkCore.Design.OperationExecutor * Microsoft.EntityFrameworkCore.Design.IOperationResultHandler * System.Collections.IDictionary -> Microsoft.EntityFrameworkCore.Design.OperationExecutor.GetMigrations
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:

contextType--The DbContext to use.

connectionString--The connection string to the database. Defaults to the one specified in Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.AddDbContext or OnConfiguring(DbContextOptionsBuilder).

noConnect--Don't connect to the database.

Applies to

OperationExecutor.GetMigrations(OperationExecutor, Object, IDictionary)

Initializes a new instance of the OperationExecutor.GetMigrations class.

The arguments supported by args are:

contextType--The DbContext to use.

public GetMigrations (Microsoft.EntityFrameworkCore.Design.OperationExecutor executor, object resultHandler, System.Collections.IDictionary args);
new Microsoft.EntityFrameworkCore.Design.OperationExecutor.GetMigrations : Microsoft.EntityFrameworkCore.Design.OperationExecutor * obj * System.Collections.IDictionary -> Microsoft.EntityFrameworkCore.Design.OperationExecutor.GetMigrations
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