linq获取最大ID值

from userInfo in db.T_USER_INNER select userInfo.USER_ID).Max()

原文地址:https://www.cnblogs.com/wenghaowen/p/3210359.html