Lenguaje

IMigrator.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 bool HasPendingModelChanges();
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Migrations operations are not supported with NativeAOT Use a migration bundle or an alternate way of executing migration operations.")>]
abstract member HasPendingModelChanges : unit -> bool
Public Function HasPendingModelChanges () As Boolean

Devoluciones

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

Atributos

Se aplica a