Skip to content

Conversation

@knumat
Copy link

@knumat knumat commented Jan 28, 2026

Previously, CoreAdmin would not detect tables from a DbContext configured with AddDbContextPool(). This was because AddDbContextPool() sets service.ImplementationFactory instead of service.ImplementationType.

This pull request is a minimal set of changes based on #119. It is similar to #96, with a couple simplifications:

  • This PR does not include the "ServiceLifetime.Scoped" check (not sure why/if that was needed)
  • This PR leaves the code to prevent duplicates in the detectedServices list.

I tested locally with an ASP.NET 10 / EF Core 10 project and found this change allows CoreAdmin to function with AddDbContextPool().

Previously, CoreAdmin would not detect tables from a DbContext configured with AddDbContextPool().
This was because AddDbContextPool() sets service.ImplementationFactory instead of service.ImplementationType.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant