这是我的 sql 查询,,
select ROW_NUMBER() over (partition by AirAvail_ID order by AirAvail_ID) as IndexNo,AirAvail_ID from AvailFlt
我想将其转换为 LINQ!
输出/输出:
IndexNo AirAvail_Id
1 0
2 0
3 0
4 0
1 1
2 1
3 1
. .
. .
.
提前致谢