Mon, 08/02/2010 - 22:39
I want to know, Do we have any alternative to Row_Number function in Linq. I want to use Ranking and Partition in Linq.
SELECT ROW_NUMBER() OVER(Partition BY Author_Name
Please let me know how to achieve the same functionality in Linq.
we can implement row_number() functionality using a integer variable.
rownumber=i++ will add a new int coloumn.