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

ThenInclude? #245

Closed
VictorioBerra opened this issue Oct 26, 2019 · 1 comment

Comments

@VictorioBerra
Copy link

@VictorioBerra VictorioBerra commented Oct 26, 2019

            var spec = Specifications.GetOpenBlinds(now)
                .And(x => x.Id == id);

            spec.FetchStrategy = new GenericFetchStrategy<Blind>()
                .Include(x => x.BlindItems); // <-----------------------------------------------

            var blind = blindRepository.Find(spec);

How can I do .ThenInclude(x => x.BlindItemsChildren);

@omarpiani

This comment has been minimized.

Copy link
Member

@omarpiani omarpiani commented Oct 26, 2019

Include("BlindItems.BlindItemsChildren") if I remember well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.