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