int startmaxid = ;
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();
}

最新文章

  1. show master/slave status求根溯源
  2. js回顾2
  3. (转)IC验证概述
  4. java中得到classpath和当前类的绝对路径的一些方法(路径中的%20"进行替换空格)
  5. Windows phone 8.0 本地化遇到的两个问题
  6. Web Service(一) 基础学习
  7. xcode 环境,多工程联编设置【转】
  8. Android--WebView控件
  9. C++异常处理小例
  10. asp生命周期
  11. uip UDPclient模式通信移植,当地port随机
  12. 我在GNU/Linux下使用的桌面环境工具组合
  13. [C#]ToString("##")格式化用法案例一:自动编码单据流水码
  14. anaconda3安装cv2模块(python3.6)
  15. centos7下安装docker(18.3docker日志---logging driver---fluentd)
  16. 剑指offer(27)字符串的排列
  17. Dubbox服务demo
  18. 性能提速:debounce(防抖)、throttle(节流/限频)
  19. 【错误整理】ora-00054:resource busy and acquire with nowait specified解决方法【转】
  20. WinForm—控制文本框只能输入整数(包括小数)

热门文章

  1. 【Nginx】进程模型
  2. 1. 找出数组中的单身狗OddOccurrencesInArray Find value that occurs in odd number of elements.
  3. ubuntu刪除升級后多余的内核
  4. MySQL计算字段
  5. AngularJS2.0 一个表单例子——总体说来还是简化了1.x 使用起来比较自然
  6. Notepad++ - 通过语言格式设置自定义语法高亮颜色
  7. [NOI1997] 积木游戏(dp)
  8. hdu1814Peaceful Commission(2-SAT)
  9. linux安装/卸载mysql
  10. printf的实型