.netcore linq更改list实体对象中的字段 批量条件

List<cs_orders> orderlist = _ordersRepository.WhereLoadEntityEnumerable(p => p.order_status ==  && p.create_time.AddHours(expireHour) < now).ToList<cs_orders>();

 orderlist.ForEach(p => { p.order_status = ;
                        p.update_time = now;
                        p.update_remark += "-系统自动取消";
                        p.canel_case = "超时系统自动取消";
                        p.canel_time = now;
                        } ); 
上一篇:关于MultipleActiveResultSets属性导致的There is already an open DataReader associated with this Command which must be closed first的解决方法


下一篇:odoo 二次开发小记-----不定时更新