I'm running into a bit of a problem writing a LINQ Query.
Given this data
Object ID Items ------ -- ----- Object1 1 [1,2,4] Object2 2 [2] Object3 3 [2,4] Object4 4 [1] I want to group on the IDS inside my Items property
The end result should be something like this
ItemID Objects ------ ------------------------------------ 1 [Object1, Object2, Object3, Object4] 2 [Object1, Object2, Object3] 4 [Object1, Object3] In which "Objects" contains the entire "object", or the properties that I wish to select.
Any help with this? It's probably pretty basic, but I can't wrap my head around it right now.
ItemIDs to look for? is it always from1to (known)n? union of allItemslists?