这是我的SQL查询,
select ROW_NUMBER() over (partition by AirAvail_ID order by AirAvail_ID) as IndexNo,AirAvail_ID from AvailFlt
我想将其转换为LINQ!
O / P:
IndexNo AirAvail_Id
1 0
2 0
3 0
4 0
1 1
2 1
3 1
. .
. .
.
先谢谢