Compartir a través de


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

Definición

Punto de entrada para agrupaciones de migraciones.

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

Parámetros

context
String

DbContext que se va a usar.

assembly
Assembly

Ensamblado Migrations.

startupAssembly
Assembly

Ensamblado de inicio.

args
String[]

Argumentos de la línea de comandos.

Devoluciones

Cero si el comando se realiza correctamente; de lo contrario, uno.

Se aplica a