标签:
直接上代码
//获取一次所有的宝贝信息 var skus = from i in _dbContext.ItemInfos join s in _dbContext.SkuInfos on i.ItemId equals s.ItemId into temp from t in temp.DefaultIfEmpty() select new { SkuCode = (t == null ? i.ItemCode : t.SkuCode), ItemName = i.ItemName, };
标签:
原文地址:http://my.oschina.net/isxiaoge/blog/509095