David Smith

David Smith

  • NA
  • 2k
  • 0

Linq Help

Jul 16 2013 4:37 PM
I want to make this in one linq possible or two linqs, can some assist me?



List<ColorNum> ColorNums = (from x in ColorPartNums where (x.Num == ColorPartNum) select x.ColorNums).First();

         List<color> color = (from y in ColorNums where (y.Num == ColorNum) select y.color).First();

                 List<color> colorFilteredList = color.Where(c => c.IsDutyColorValidated == true).ToList();

Answers (1)