You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow proxy-creation to be temporarily disabled #12895
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.
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.
Activity
[-]Allow proxy-creation to temporarily disabled[/-][+]Allow proxy-creation to be temporarily disabled[/+]Applesauce314 commentedon Aug 20, 2024
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.
EraYaN commentedon Nov 18, 2025
I'd also like it if we could have something like the
AsNoTrackingandAsTrackingextension methods. It would allow certain queries to fully ignore any global proxy/lazy loading settings.