Skip to content

Allow proxy-creation to be temporarily disabled #12895

Description

@ajcvickers

Activity

  1. self-assigned this
    on Aug 5, 2018
  2. added this to the Backlog milestone on Aug 6, 2018
  3. changed the title [-]Allow proxy-creation to temporarily disabled[/-] [+]Allow proxy-creation to be temporarily disabled[/+] on Oct 18, 2023
  4. Applesauce314 commented on Aug 20, 2024

    @Applesauce314

    the ability to disable lazy loading on an entity by entity basis would also be nice.
    We initially had lazy loading enable in our project but have tried to stop relying on it as it does not interact well with Serialization and async. Our long term goal is to be able to turn it off entirely, but it would be nice to be able to turn it off for new entities added to our DbContext in the meantime so we don't create new dependencies on it.

  5. removed their assignment
    on Aug 31, 2024
  6. added theissue type on Jun 15, 2025
  7. EraYaN commented on Nov 18, 2025

    @EraYaN

    I'd also like it if we could have something like the AsNoTracking and AsTracking extension methods. It would allow certain queries to fully ignore any global proxy/lazy loading settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions