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

Query: Allow EF.Property to be used for navigations. #4834

Closed
anpete opened this issue Mar 17, 2016 · 2 comments
Closed

Query: Allow EF.Property to be used for navigations. #4834

anpete opened this issue Mar 17, 2016 · 2 comments
Assignees
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-enhancement
Milestone

Comments

@anpete
Copy link
Contributor

anpete commented Mar 17, 2016

E.g.

var orders = context.Set<Customer>().Where(c => c.CustomerId == "ANATR")
                    .Select(c => EF.Property<ICollection<Order>>(c, "Orders")).First();

Useful for dynamic query scenarios.

@rowanmiller rowanmiller added this to the Backlog milestone Mar 25, 2016
@rowanmiller rowanmiller added the help wanted This issue involves technologies where we are not experts. Expert help would be appreciated. label Mar 25, 2016
@ajcvickers ajcvickers removed this from the Backlog milestone Feb 15, 2018
@ajcvickers
Copy link
Member

@maumar To check whether this now works for both reference and collection navigation properties, and if it is not working for collection navs, then either describe why it is failing or link to another issue if there is something already tracking the problem.

@ajcvickers ajcvickers added this to the 2.1.0 milestone Feb 16, 2018
@maumar maumar added closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. and removed type-investigation help wanted This issue involves technologies where we are not experts. Expert help would be appreciated. labels Feb 23, 2018
@maumar
Copy link
Contributor

maumar commented Feb 23, 2018

This works in current bits, both for reference and collection navs

@maumar maumar closed this as completed Feb 23, 2018
@ajcvickers ajcvickers modified the milestones: 2.1.0-preview2, 2.1.0 Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-enhancement
Projects
None yet
Development

No branches or pull requests

4 participants