Compartir a través de


RelationalDatabaseFacadeExtensions.HasPendingModelChanges Método

Definición

Devuelve true si el modelo tiene cambios pendientes que se van a aplicar.

[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Migrations operations are not supported with NativeAOT Use a migration bundle or an alternate way of executing migration operations.")]
public static bool HasPendingModelChanges (this Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade databaseFacade);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Migrations operations are not supported with NativeAOT Use a migration bundle or an alternate way of executing migration operations.")>]
static member HasPendingModelChanges : Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade -> bool
<Extension()>
Public Function HasPendingModelChanges (databaseFacade As DatabaseFacade) As Boolean

Parámetros

databaseFacade
DatabaseFacade

Fachada de Database.

Devoluciones

true si el modelo de base de datos tiene cambios pendientes y se debe agregar una nueva migración.

Atributos

Se aplica a