OperationExecutor.DropDatabase Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| OperationExecutor.DropDatabase(OperationExecutor, IOperationResultHandler, IDictionary) |
Initialise une nouvelle instance de la classe OperationExecutor.DropDatabase. |
| OperationExecutor.DropDatabase(OperationExecutor, Object, IDictionary) |
Initialise une nouvelle instance de la classe OperationExecutor.DropDatabase. Les arguments pris en charge
|
OperationExecutor.DropDatabase(OperationExecutor, IOperationResultHandler, IDictionary)
- Source:
- OperationExecutor.cs
- Source:
- OperationExecutor.cs
- Source:
- OperationExecutor.cs
- Source:
- OperationExecutor.cs
- Source:
- OperationExecutor.cs
- Source:
- OperationExecutor.cs
- Source:
- OperationExecutor.cs
- Source:
- OperationExecutor.cs
- Source:
- OperationExecutor.cs
Initialise une nouvelle instance de la classe OperationExecutor.DropDatabase.
public DropDatabase(Microsoft.EntityFrameworkCore.Design.OperationExecutor executor, Microsoft.EntityFrameworkCore.Design.IOperationResultHandler resultHandler, System.Collections.IDictionary args);
new Microsoft.EntityFrameworkCore.Design.OperationExecutor.DropDatabase : Microsoft.EntityFrameworkCore.Design.OperationExecutor * Microsoft.EntityFrameworkCore.Design.IOperationResultHandler * System.Collections.IDictionary -> Microsoft.EntityFrameworkCore.Design.OperationExecutor.DropDatabase
Public Sub New (executor As OperationExecutor, resultHandler As IOperationResultHandler, args As IDictionary)
Paramètres
- executor
- OperationExecutor
Exécuteur d’opération.
- resultHandler
- IOperationResultHandler
- args
- IDictionary
Arguments d’opération.
Remarques
Les arguments pris en charge args sont les suivants :
contextType--À DbContext utiliser.
connectionString--Le chaîne de connexion à la base de données. La valeur par défaut est celle spécifiée dans Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.AddDbContext ou OnConfiguring(DbContextOptionsBuilder).
S’applique à
OperationExecutor.DropDatabase(OperationExecutor, Object, IDictionary)
- Source:
- OperationExecutor.cs
- Source:
- OperationExecutor.cs
Initialise une nouvelle instance de la classe OperationExecutor.DropDatabase.
Les arguments pris en charge args sont les suivants :
contextType--À DbContext utiliser.
public DropDatabase(Microsoft.EntityFrameworkCore.Design.OperationExecutor executor, object resultHandler, System.Collections.IDictionary args);
new Microsoft.EntityFrameworkCore.Design.OperationExecutor.DropDatabase : Microsoft.EntityFrameworkCore.Design.OperationExecutor * obj * System.Collections.IDictionary -> Microsoft.EntityFrameworkCore.Design.OperationExecutor.DropDatabase
Public Sub New (executor As OperationExecutor, resultHandler As Object, args As IDictionary)
Paramètres
- executor
- OperationExecutor
Exécuteur d’opération.
- resultHandler
- Object
- args
- IDictionary
Arguments d’opération.