Skip to content

Commit 9a8932a

Browse files
committed
Fixed blazor sample
1 parent bfa1085 commit 9a8932a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

samples/v2/4 - BlazorTests/Startup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public void ConfigureServices(IServiceCollection services)
3131
services.AddRazorPages();
3232
services.AddServerSideBlazor();
3333
services.AddSingleton<EventAggregator>();
34-
35-
services.AddDbContextFactory<ApplicationDbContext>(options => {
34+
35+
services.AddTriggeredDbContextFactory<ApplicationDbContext>(options => {
3636
options
3737
.UseSqlite("Data source=test.db")
3838
.UseTriggers(triggerOptions => {

0 commit comments

Comments
 (0)