Reputation: 88
I have an EF query as shown here. I would need to get the list (x variable) with its counter (sequence), 1, 2, 3, 4, 5, as another column
How do I achieve it?
List<ERP_Table> x = db.ERP_Table
.Where(e => e.INo == currINo)
.DefaultIfEmpty()
.ToList();
Upvotes: 1
Views: 254