Aracılığıyla paylaş


RelationalDatabaseFacadeExtensions.HasPendingModelChanges Yöntem

Tanım

Modelde uygulanacak bekleyen değişiklikler varsa döndürür 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 static bool HasPendingModelChanges (this Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade databaseFacade);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Migrations operations are not supported with NativeAOT Use a migration bundle or an alternate way of executing migration operations.")>]
static member HasPendingModelChanges : Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade -> bool
<Extension()>
Public Function HasPendingModelChanges (databaseFacade As DatabaseFacade) As Boolean

Parametreler

databaseFacade
DatabaseFacade

'den cephe Database.

Döndürülenler

true veritabanı modelinde bekleyen değişiklikler varsa ve yeni bir geçiş eklenmesi gerekiyorsa.

Öznitelikler

Şunlara uygulanır