You need to add select clause to tell what data you require from query. This msdn article describes the basic query operation and structure.
reportRowItems = (from r in reportRowItems
from bu in r.User.HtBusinessUnits
where bu.LocationBusinessUnitId == selectLBU.LocationBusinessUnitId
select r
).ToList();
To get combination of both tables you can use projection.
reportRowItems = (from r in reportRowItems
from bu in r.User.HtBusinessUnits
where bu.LocationBusinessUnitId == selectLBU.LocationBusinessUnitId
select new {r.AttributeName1, r.AttributeName2, bu.AttributeName1}
).ToList();
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…