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

What is the equivalent of DbContextConfiguration in EF 7 and how to enable LazeLoading? #4121

Closed
Sally-Xu opened this issue Dec 17, 2015 · 4 comments

Comments

@Sally-Xu
Copy link

What is the equivalent of DbContextConfiguration in EF 7 ? I mainly want to know how to config DbContext to use LazeLoading.

Don't know if this belongs to issues or not, but I have no where to ask this question other than here.

@alaatm
Copy link
Contributor

alaatm commented Dec 17, 2015

Lazy-loading isn't implemented in EF7 (yet). See this issue: #3797

@Sally-Xu
Copy link
Author

Is "Include" syntax supported in the EF7 "7.0.0-rc1-final" release? Without LazeLoading nor "include" syntax support, is there a way to get children back with one query?

@Sally-Xu
Copy link
Author

OK, I found out eager loading with "include" is already implemented according to the EF7 roadmap:
https://github.com/aspnet/EntityFramework/wiki/Roadmap#high-priority-features ".

I was getting build errors when try to use "include", after I added using Microsoft.Data.Entity namespace, the compiler error is gone.

@rowanmiller
Copy link
Contributor

Closing this issue as it seems all questions have been answered now

@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

4 participants