LINK to CSLA Questions

LINK to CSLA Questions

Old forum URL: forums.lhotka.net/forums/t/4789.aspx


Husker Dan posted on Friday, May 02, 2008

Good Day All,

I have an object structure that looks like the following

ParentList

   Parent

      ChildList

         Child

I am trying to use LINQ to sort my list before I bind it to a Tree. Using the sample in ProjectTracker I am using the following syntax to sort the object:

Dim sortedList = From f In Me.mUserFieldTables Order By f.DisplayName

That works great for sorting the Parent List but the Child Lists remain unsorted. I can't seem to figure out if/how this would be possible using LINQ. If anyone has done this I would appreciate a shove in the right direction.

Thanks!

Copyright (c) Marimer LLC