Closed brent-russell closed 8 years ago
@brent-russell could you also share a model you are using?
@maumar edited original comment to include model info.
poaching this
blocked by #4547
blocked by #4925
clearing milestone for retriage
@maumar where are we at with this issue?
@maumar ping đŸ˜„
@rowanmiller fix is almost ready
Fixed in 7bdf5818b10389588d74ecc03ba766fe24850298
Beta 7 and Beta 6.
This might encompass two separate issues. The Include() method is problematic with the following query:
If
query = query.Include(e => e.Children);
is used, the coalesce expressioneRootJoined ?? eVersion
cannot be bound.If
Include
is added to the second or both of the_dbContext.Entities
lines, then a null reference exception occurs.If
Include
is added to the first_dbContext.Entities
line, the query runs, but does not include the children.Where RootEntityId is a self-referential relation on the Entity table.