OperationExecutor.ScriptMigration Constructors

Definition

Overloads

OperationExecutor.ScriptMigration(OperationExecutor, IOperationResultHandler, IDictionary)

Initializes a new instance of the OperationExecutor.ScriptMigration class.

OperationExecutor.ScriptMigration(OperationExecutor, Object, IDictionary)

Initializes a new instance of the OperationExecutor.ScriptMigration class.

The arguments supported by args are:

fromMigration--The starting migration. Defaults to InitialDatabase.

toMigration--The ending migration. Defaults to the last migration.

idempotent--Generate a script that can be used on a database at any migration.

contextType--The DbContext to use.

OperationExecutor.ScriptMigration(OperationExecutor, IOperationResultHandler, IDictionary)

Initializes a new instance of the OperationExecutor.ScriptMigration class.

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

fromMigration--The starting migration. Defaults to InitialDatabase.

toMigration--The ending migration. Defaults to the last migration.

idempotent--Generate a script that can be used on a database at any migration.

noTransactions--Don't generate SQL transaction statements.

contextType--The DbContext to use.

Applies to

OperationExecutor.ScriptMigration(OperationExecutor, Object, IDictionary)

Initializes a new instance of the OperationExecutor.ScriptMigration class.

The arguments supported by args are:

fromMigration--The starting migration. Defaults to InitialDatabase.

toMigration--The ending migration. Defaults to the last migration.

idempotent--Generate a script that can be used on a database at any migration.

contextType--The DbContext to use.

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