일부 Linq-querys를 LinqJs- 쿼리로 변환하여 LinqJS를 배우려고했습니다.linq-query를 linqjs로 변환
이것은 Linq- 쿼리입니다.
(from y in class1
join x in class2 on y.Id equals x.Name
group y by new { y.Date, x.Number } into xy
select new class3()
{
}).ToList();
이 현재 시도는 (여러 번 다시 작성되었습니다). 나는 구문을 이해하지 못한다고 생각합니다.
var example = Enumerable.from(this.class1)
.join(
this.class2,
"y => y.Id",
"x => x.Name",
" "
)
.groupBy("x.Date", "y.Number")
.select(xy= new Class3(), { })
.ToArray();