I'm wondering if anybody has done any work extending DataFilter to handle dealing with child collections in a complicated manner. For instance, I have an IParent interface, which has an IEnumerable<IChild> Children member. I'd like to be able to express visually:
from p in parents where p.Children.Any(i => i.Type == 1 && i.Foo = "Bar")
Basically, I want to select parents based on whether any children exists.
I have this notion that I could implement this entirely on my own... somehow. Perhaps a custom 3-part editor control for teh Children property, with a "any" operator... and a sub-RadDataFilter rendered in part-3.
That seems pretty kludgy though.
from p in parents where p.Children.Any(i => i.Type == 1 && i.Foo = "Bar")
Basically, I want to select parents based on whether any children exists.
I have this notion that I could implement this entirely on my own... somehow. Perhaps a custom 3-part editor control for teh Children property, with a "any" operator... and a sub-RadDataFilter rendered in part-3.
That seems pretty kludgy though.