I have three level hierarchical data. using the statement below i managed to display two
level data. I need to extend it to one more level.
Current hierachy is Modules–>Documents
I need to extend it as Packages–>Modules–>Documents
var data = (from m in DataContext.SysModules
join d in DataContext.SysDocuments on m.ModuleID equals d.ModuleID into tempDocs
from SysDocument in tempDocs.DefaultIfEmpty()
group SysDocument by m).ToList();
Regards
Tassadaque
You should use the DataLoadOptions property on DataContext.