We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0d9619f + a68381e commit fc0ca32Copy full SHA for fc0ca32
1 file changed
test/EntityFrameworkCore.Triggered.Tests/TriggeredDbContextFactoryTests.cs
@@ -51,7 +51,7 @@ public TestDbContext(DbContextOptions options)
51
public void DbContextFactory_RaisesTrigger_SharesDbContext()
52
{
53
using var serviceProvider = new ServiceCollection()
54
- .AddTriggeredDbContextFactory<TestDbContext>(options => {
+ .AddTriggeredDbContextFactory<TestDbContext>((sp, options) => {
55
options.UseInMemoryDatabase(nameof(DbContextFactory_RaisesTrigger_SharesDbContext));
56
options.UseTriggers(triggerOptions => {
57
triggerOptions.AddTrigger<TestTrigger>();
0 commit comments