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