Language

IMigrator.HasPendingModelChanges メソッド

定義

モデルに適用する保留中の変更がある場合に 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 データベース モデルに保留中の変更があり、新しい移行を追加する必要がある場合。

属性

適用対象