1

I need to select from my table the maximum value with linq.

SQL:

Select MAX(number) AS Maximo FROM my_table 
N. Tobías
  • 55
  • 10

1 Answers1

2
YourContext.YourTable.Max(x => x.number)
dovid
  • 5,945
  • 3
  • 31
  • 66