C# 获取表中最大值
2021-06-30 10:05
                         标签:efault   col   dma   style   where   HERE   ict   int   end      C# 获取表中最大值 标签:efault   col   dma   style   where   HERE   ict   int   end    原文地址:https://www.cnblogs.com/enych/p/9981469.html         int startmaxid = 0;
            if (db.LPicture.Any())
            {
               // LPicture Newmode = db.LPicture.Where(n => ).FirstOrDefault();
                startmaxid = db.LPicture.Max(q => q.LPictureid);
                int endmaxid = db.LPicture.Select(s => s.LPictureid).Max();
            }
下一篇:what is API