We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5c46cb commit 935673eCopy full SHA for 935673e
1 file changed
EstateReportingAPI/Bootstrapper/RepositoryRegistry.cs
@@ -28,7 +28,7 @@ public RepositoryRegistry(){
28
}
29
else {
30
this.AddSingleton<QueryTimingInterceptor>();
31
- this.AddDbContextFactory<EstateManagementContext>((sp, options) =>
+ this.AddDbContext<EstateManagementContext>((sp, options) =>
32
{
33
options.UseSqlServer(ConfigurationReader.GetConnectionString("TransactionProcessorReadModel"));
34
options.AddInterceptors(sp.GetRequiredService<QueryTimingInterceptor>());
0 commit comments