(repost updated)
Imagine I have (pseudo tables)
A
{
Id,
SomeDate Date
}
B
{
A.Id,
C.Id
}
C
{
Id
}
D
{
C.Id,
StartDate Date,
EndDate Date,
}
A and C is many to many relation through B, C and D is one to many relation.
Now I'd like to fetch A and prefetch D, like pseudo
A.WithPath(aPath => aPath
.Prefetch<CEntity>(a => a.CCollectionViaB)
.SubPath(cp => cp
.Prefetch<DEntity>(c => c.D)
.FilterOn(only D where A.SomeDate between D.StartDate and D.EndDate)
)
The problem is FilterOn where I can't reach A.SomeDate.
v3.5 17.1.2013