我有以下查询,但它似乎是错误的,可以缩短吗?以下是否对性能不利?
var projectBylineIDs = _neptuneUow.Projects.FindWhere(p => p.ID == 81)
.SelectMany(p => p.Batches)
.SelectMany(i => i.Items)
.SelectMany(b => b.ByLines)
.Select(b => b.ID)
.ToList();