Lingua

IMigrator.HasPendingModelChanges Metodo

Definizione

Restituisce true se il modello presenta modifiche in sospeso da applicare.

[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

Valori restituiti

true se il modello di database presenta modifiche in sospeso e deve essere aggiunta una nuova migrazione.

Attributi

Si applica a