8 references to BloggingContextWithSnapshotThatThrows
Diagnostics.EFCore.FunctionalTests (8)
DatabaseErrorPageMiddlewareTest.cs (3)
443using var host = await SetupServer<BloggingContextWithSnapshotThatThrows, ExceptionInLogicMiddleware>(database, logProvider); 469var db = context.RequestServices.GetService<BloggingContextWithSnapshotThatThrows>();
MigrationsEndPointMiddlewareTest.cs (3)
245services.AddDbContext<BloggingContextWithSnapshotThatThrows>(optionsBuilder => 258new KeyValuePair<string, string>("context", typeof(BloggingContextWithSnapshotThatThrows).AssemblyQualifiedName) 264Assert.StartsWith(StringsHelpers.GetResourceString("FormatMigrationsEndPointMiddleware_Exception", typeof(BloggingContextWithSnapshotThatThrows)), ex.Message);
TestModels\BloggingContextWithSnapshotThatThrows.cs (2)
17[DbContext(typeof(BloggingContextWithSnapshotThatThrows))] 26[DbContext(typeof(BloggingContextWithSnapshotThatThrows))]