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

In-query Filtered Include()? #3093

Closed
brent-russell opened this issue Sep 10, 2015 · 2 comments
Closed

In-query Filtered Include()? #3093

brent-russell opened this issue Sep 10, 2015 · 2 comments

Comments

@brent-russell
Copy link

if (includeChildren)
{
    if (activeOnly)
    {
        query = query.Include(t => t.Children.Where(c => c.IsActive));

Are there any plans to support the above syntax, or another method to filter Include() content in-query?

@Suchiman
Copy link
Contributor

👍 I'd really like to see something like this, always bothered me in EF6.

@rowanmiller
Copy link
Contributor

Duplicate of #1833

@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