You can't do this, can you? Enumerable inside another...

Aug 3, 2012 at 4:36 PM
var lUserNames = [];
Enumerable.From(objData).ForEach(function(objItem) { Enumerable.From(objItem.Users).ForEach(function(objUser) { var iCount = Enumerable.From(lUserNames).Where('$ == ' + objUser.UserName).Count(); if(iCount == 0) { lUserNames.push(objUser.UserName); } }); });
Coordinator
Aug 5, 2012 at 5:28 PM

Is this theme duplicate?

http://linqjs.codeplex.com/discussions/390160

and if you want to flat hierarchy then use "SelectMany".