Closed petrformanek closed 2 years ago
@petrformanek I think it makes sense to create an extension method instead of making the classes public. Do you want to send a PR for it?
@Giorgi I can make a PR for it.
PR - #39
@Giorgi do you have any estimation when are you going to check and approve the PR #39?
@petrformanek Can you implement it for all supported databases?
@Giorgi, I'm sorry but my boss won't give me time to add it to all of them.
@petrformanek Why should I work for your boss for free?
@Giorgi and what is a problem with original PR? Why it was not merged?
It was implemented only for one database.
Hello, I wanted to use
EntityFrameworkCore.Exceptions.SqlServer
package version3.1.4
in my project but the extension methodoptionsBuilder.UseExceptionProcessor()
cannot be used when using entity framework in more advanced way.I'm configuring EF with UseInternalServiceProvider(IServiceProvider).
In this case the
self.ReplaceService<IStateManager, SqlServerExceptionProcessorStateManager>()
cannot be used, but I need to register it to service collection as scoped service likeservices.AddScoped<IStateManager, SqlServerExceptionProcessorStateManager>()
.The problem is that there is no extension method to do it and the
SqlServerExceptionProcessorStateManager
is not public.Could you either make
SqlServerExceptionProcessorStateManager
public or provide some extension method? For example OracleExceptionProcessorStateManager is already public.Thank you and have a great day!