public void Update(OrderEntity entity, Dictionary <string, object> dic) { ToolsCommon.SetValue(entity, dic); using (var context = new O2OContext()) { var service = new BaseService <OrderEntity>(context); service.Update(entity); } }
public void Update(OrderEntity entity, Dictionary <string, object> dic) { ToolsCommon.SetValue(entity, dic); using (var context = new O2OContext()) { var service = new BaseService <OrderEntity>(context); service.Update(entity); } }