我有 linq 请求。我需要item.Title
选择。这是怎么做的?
var list = (from item in answer.SubItems.OfType<TItemView>()
where item.SubItems != null
from ty in item.SubItems
select ty as TDealRequestView
into request
select new
{
itemTitle = item.Title,//item not visible
Title = request.Title,
}).ToList();