这是我用过的LINQ查询varresult=(frompriceininventoryDb.Pricing.AsNoTracking()whereprice.Quantity>0mselectnew{TagNo=price.TagNo,SellingRate=price.SellingRate,Quantity=price.Quantity}).ToList();根据Quantity值,我需要在列表中生成重复项。输出:result=[0]{TagNo="100",SellingRate=1500.00,Quantity=1}[1]{TagNo="101",SellingRate=160