标签:
//要更新属性集合 CRL.ParameCollection c = new CRL.ParameCollection(); c["ProductName"] = "product1"; Code.ProductDataManage.Instance.Update(b => b.Id == 4, c); //按对象差异更新 var p = Code.ProductDataManage.Instance.QueryItem(b => b.Id >0); p.BarCode = "ssss" + DateTime.Now.Second; Code.ProductDataManage.Instance.Update(p);//按对象差异更新,对象需由查询创建
标签:
原文地址:http://www.cnblogs.com/hubro/p/4286248.html