1 instantiation of DatabaseContextDetails
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (1)
HttpContextDatabaseContextDetailsExtensions.cs (1)
57return new DatabaseContextDetails(
10 references to DatabaseContextDetails
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (10)
DatabaseDeveloperPageExceptionFilter.cs (2)
65var contextDetails = new List<DatabaseContextDetails>(); 69var details = await errorContext.HttpContext.GetContextDetailsAsync(registeredContext, _logger);
DatabaseErrorPageMiddleware.cs (2)
98var details = await httpContext.GetContextDetailsAsync(contextType!, _logger); 104Model = new DatabaseErrorPageModel(exception, new DatabaseContextDetails[] { details }, _options, httpContext.Request.PathBase)
HttpContextDatabaseContextDetailsExtensions.cs (1)
19public static async ValueTask<DatabaseContextDetails?> GetContextDetailsAsync(this HttpContext httpContext, Type dbcontextType, ILogger logger)
Views\DatabaseErrorPage.Designer.cs (3)
211foreach (var context in contextWithNoDBOrMigrations) 312foreach (var context in contextWithPendingMigrations) 504foreach (var context in contextWithPendingModelChanges)
Views\DatabaseErrorPageModel.cs (2)
13IEnumerable<DatabaseContextDetails> contextDetails, 24public IEnumerable<DatabaseContextDetails> ContextDetails { get; }