Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy and Eager Loading #2980

Closed
batesm opened this issue Sep 2, 2015 · 5 comments
Closed

Lazy and Eager Loading #2980

batesm opened this issue Sep 2, 2015 · 5 comments

Comments

@batesm
Copy link

batesm commented Sep 2, 2015

Please can you provide an update on current status of lazy and eager loading of navigation properties in EF7. Or point me to some documentation of existing or future implementation. I have tried googling on Bing and ReadTheDocs but to no avail. Thank you.

@rowanmiller
Copy link
Contributor

Eager loading is implemented (using the Include/ThenInclude extension methods).

Lazy loading is not yet implemented. Lazy loading is a common request but is also the number 1 source of performance issues we see and folks are often not aware that they are using it. Based on this we are going to see how we go without it... but will add it if feedback shows that folks really need it.

@batesm
Copy link
Author

batesm commented Sep 2, 2015

Yep, lazy loading in EF can get quite contentious in my experience. Thanks, Rowan, for the swift response :)

@yukozh
Copy link
Contributor

yukozh commented Sep 19, 2015

#3176 @rowanmiller
Are there any method to make a lift include by using eager load?

@yukozh
Copy link
Contributor

yukozh commented Oct 6, 2015

+1 for lazy load

@ryanlin1986
Copy link

+100 for lazy load, that's just ridiculous without it.

@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
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

No branches or pull requests

5 participants