SaveChangesInterceptor with MultiTenantDbContext #964
AndrewZenith
started this conversation in
General
Replies: 1 comment
-
|
Hi, it’s on my list to move the EFCore support over to using interceptors but it’s not there yet. I encourage you to create an extension method similar to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is there a way to use a SaveChangesInterceptor with MultiTenantDbContext (especially MultiTenantDbContext.Create).
MultiTenantDbContext.Create can't resolve services, so it just fails to create the context with the exception "The provided DbContext type does not have a constructor that accepts the required parameters.".
Beta Was this translation helpful? Give feedback.
All reactions