-- 累加decimal value = ORM.Sum<tblOrder>(it => it.Where(o => o.username == "fanrong"), "price");-- 总行数int value = ORM.Count<tblOrder>(it => it.Where(o => o.username == "fanrong"));
-- 累加
decimal value = ORM.Sum<tblOrder>(it => it.Where(o => o.username == "fanrong"), "price");
-- 总行数
int value = ORM.Count<tblOrder>(it => it.Where(o => o.username == "fanrong"));