日期:2014-05-17 浏览次数:20952 次
Goods entity = db.Goods.FirstOrDefault(o => o.GoodsName == content.Goods.GoodsName
&& o.GoodsModel == content.Goods.GoodsModel
&& o.GoodsColor ==null);
string goodsSpec = null;
Goods entity = db.Goods.FirstOrDefault(o => o.GoodsName == content.Goods.GoodsName
&& o.GoodsModel == content.Goods.GoodsModel
&& o.GoodsColor ==goodsSpec);