Skip to content

Make AddPooledDbContextFactory register Dbcontext in DI as well as the factory #35484

Closed as duplicate

Description

@roji

AddDbContextFactory registers a DbContext as Scoped in addition to register an IDbContextFactory as Singleton (this was done for 6.0 in #25164). However, for some reason we neglected to do the same for AddPooledDbContextFactory - we should do that.

Activity

  1. added this to the 10.0.0 milestone on Jan 16, 2025
  2. self-assigned this
    on Jan 16, 2025
  3. added a commit that references this issue on Jan 16, 2025
    76e8260
  4. added a commit that references this issue on Jan 16, 2025
    296128f
  5. removed this from the 10.0.0 milestone on Jan 16, 2025
  6. added theissue type on Jun 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions