0
다음 코드를 람다 스타일로 변환하려고하는데 성공하지 못했습니다.람다에서 GroupBy를 사용하는 방법?
DiscCurrentLocation[] old =
(from v in volumeDC.Volumes
join d in volumeDC.Disc_Vs
on v.VolumeID equals d.DiscVolumeID
group d by new { v.VolumeLibID, d.DiscCurrentLocation } into g
where (g.Key.VolumeLibID == libraryId && g.Key.DiscCurrentLocation > -1
&& g.Count() > 1)
select (DiscCurrentLocation)g.Key.DiscCurrentLocation
).ToArray<DiscCurrentLocation>();
누군가 변환 방법을 보여줄 수 있습니까? 감사
그것이 필요한 .Join를 사용할 수 있나요? – Khayralla