Partager via


IMigrator.HasPendingModelChanges Method

Definition

Returns true if the model has pending changes to be applied.

[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

Returns

true if the database model has pending changes and a new migration has to be added.

Attributes

Applies to