--按条件修改

静态方法:

ORM.Update(model, (it => it.Where(o => o.Mark > 0)));


3.2.0.0 版本新增【链式语法】:

ORM.Build<T>()

.Update(model, (it => it.Where(o => o.Mark > 0)))

.Execute();


--按条件(逻辑)删除

静态方法:

ORM.LogicalDelete(model, (it => it.Where(o => o.Mark > 0)));


--按条件(物理)删除

静态方法:

ORM.Delete(model, (it => it.Where(o => o.Mark > 0)));


3.2.0.0 版本新增【链式语法】:

ORM.Build<T>()

.Delete(model, (it => it.Where(o => o.Mark > 0)))

.Execute();