基础统计写法

-- 累加

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"));