日斋
日新月异
摘要: var attributeTotalValues = (from a in objValue group a by new { a.ProductTypeID, a.AttributeCode } into b select new { ProductTypeID = b.Key.ProductTypeID, AttributeCode = b.Key.AttributeCode, TotalAttributeValue = b.Sum(a => a.AttributeValue.ToDecimal()) }); var objValue = (from a in LinqMetaDat 阅读全文
posted @ 2011-10-10 16:28 李承隆 阅读(961) 评论(0) 推荐(0) 编辑