//根据字典集合删除 List<Dictionary<string,object>> list= new List<Dictionary<string,object>>; list.Add(字典); db.Deleteable<object>().AS("OrderInfo").WhereColumns(list).ExecuteCommand();
如果存在一些特殊语法不能做到多库兼容
db.Deleteable<object>().AS("OrderInfo").Where("id=@id",new { id=1}).ExecuteCommand(); db.Deleteable<object>().AS("OrderInfo").Where("id in (@id) ",new {id=new int[]{1,2,3}}).ExecuteCommand();//批量
2016 © donet5.comApache Licence 2.0