I have a table User which has an identity column
UserID, now what is the correct Linq to Entity line of code that would return me the max
using (MyDBEntities db = new MyDBEntities())
var User = db.Users.Last();
var User = db.Users.Max();
Max don't seem to be supported.