This project has moved and is read-only. For the latest updates, please go here.

Support for Any()?

Jul 28, 2014 at 10:45 PM
I have a pair of tables, with a 1-many relationship, and a FK defined. The model has navigational properties defined, child.parent and parent.children.

What works, against SQL Server, and doesn't seem to, in Effort:
var result = myDbContext.parents
.Where(p => p.name == "SMITH")
.Where(p => p.children.Any(c => c.age == 10)
Sep 8, 2014 at 7:56 PM
Hello,

Thank you for reporting this. I recorded this as any issue.
Sep 8, 2014 at 7:56 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.