IMigrator.HasPendingModelChanges メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
モデルに適用する保留中の変更がある場合に true を返します。
[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
戻り値
true データベース モデルに保留中の変更があり、新しい移行を追加する必要がある場合。
- 属性