我的linq语句有什么问题,我做错了什么?if(this.selectLBU.HtUsers.Any()){reportRowItems=(fromrinreportRowItemsfrombuinr.User.HtBusinessUnitswherebu.LocationBusinessUnitId==selectLBU.LocationBusinessUnitId).ToList(); 最佳答案 您需要添加select子句来告诉您需要从查询中获取哪些数据。这msdnarticle描述了基本的查询操作和结构。reportRowIt