怎么查询日期最大的一条记录 返回

SqlSugar 老数据
1 1482

不写sql语句,怎么用框架查询日期最大的一条记录

热忱回答1

  • var maxDate = db.Queryable<Student>().Max(it => it.Date);

    0 回复