我有一个Lambda表达式导致'序列中的多个值',即看起来是数据重复。这是lambda表达式:
var destinations = this.contentBusiness.GetAllDisplayVersions()
.Where(x => airportDestinations.Any(y => y.DestinationAirport.DestinationGuideId == x.ParentId))
.Select(x => new DestinationViewModel(airportDestinations.Single(y => y.DestinationAirport.DestinationGuideId == x.ParentId), x));
现在我需要对应的SQL语句。
答案 0 :(得分:0)
为什么不运行SQL事件探查器?