Partager via


MigrationsBundle.Execute(String, Assembly, Assembly, String[]) Méthode

Définition

Point d’entrée pour les offres groupées migrations.

public static int Execute (string? context, System.Reflection.Assembly assembly, System.Reflection.Assembly startupAssembly, string[] args);
static member Execute : string * System.Reflection.Assembly * System.Reflection.Assembly * string[] -> int
Public Shared Function Execute (context As String, assembly As Assembly, startupAssembly As Assembly, args As String()) As Integer

Paramètres

context
String

DbContext à utiliser.

assembly
Assembly

Assembly Migrations.

startupAssembly
Assembly

Assembly de démarrage.

args
String[]

Arguments de la ligne de commande.

Retours

Zéro si la commande réussit ; sinon, un.

S’applique à