1 write to PendingMigrations
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (1)
DatabaseContextDetails.cs (1)
18PendingMigrations = pendingMigrations;
5 references to PendingMigrations
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (5)
DatabaseDeveloperPageExceptionFilter.cs (1)
77if (contextDetails.Any(c => c.PendingModelChanges || c.PendingMigrations.Any()))
DatabaseErrorPageMiddleware.cs (1)
100if (details != null && (details.PendingModelChanges || details.PendingMigrations.Any()))
Views\DatabaseErrorPage.Designer.cs (3)
185var contextWithNoDBOrMigrations = Model.ContextDetails.Where(c => !c.DatabaseExists && !c.PendingMigrations.Any()); 286var contextWithPendingMigrations = Model.ContextDetails.Where(c => c.PendingMigrations.Any()).Except(contextWithNoDBOrMigrations); 329foreach (var migration in context.PendingMigrations)