--分页查询(1)ORM.Get<T>((it => it.Where(o => o.Mark > 0).OrderBy(o => o.CreateDate)), 1, 30)----分页查询(2)ORM.GetWhere<T>("where ClassID = @ClassID and Mark > 0", "order by CreateDate", 1, 30 , new { ClassID = "1" });
--分页查询(1)
ORM.Get<T>((it => it.Where(o => o.Mark > 0).OrderBy(o => o.CreateDate)), 1, 30)
--
--分页查询(2)
ORM.GetWhere<T>("where ClassID = @ClassID and Mark > 0", "order by CreateDate", 1, 30
, new { ClassID = "1" });