Condividi tramite


OperationExecutor.GetMigrations Costruttori

Definizione

Overload

OperationExecutor.GetMigrations(OperationExecutor, IOperationResultHandler, IDictionary)

Inizializza una nuova istanza della classe OperationExecutor.GetMigrations.

OperationExecutor.GetMigrations(OperationExecutor, Object, IDictionary)

Inizializza una nuova istanza della classe OperationExecutor.GetMigrations.

Gli argomenti supportati da args sono:

contextType--Da DbContext usare.

OperationExecutor.GetMigrations(OperationExecutor, IOperationResultHandler, IDictionary)

Inizializza una nuova istanza della classe OperationExecutor.GetMigrations.

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)

Parametri

executor
OperationExecutor

Executor dell'operazione.

args
IDictionary

Argomenti dell'operazione.

Commenti

Gli argomenti supportati da args sono:

contextType--Da DbContext usare.

connectionString--Stringa di connessione al database. Il valore predefinito è quello specificato in Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.AddDbContext o OnConfiguring(DbContextOptionsBuilder).

noConnect--Non connettersi al database.

Si applica a

OperationExecutor.GetMigrations(OperationExecutor, Object, IDictionary)

Inizializza una nuova istanza della classe OperationExecutor.GetMigrations.

Gli argomenti supportati da args sono:

contextType--Da DbContext usare.

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)

Parametri

executor
OperationExecutor

Executor dell'operazione.

resultHandler
Object

Oggetto IOperationResultHandler.

args
IDictionary

Argomenti dell'operazione.

Si applica a