转换查询结果为ProductId字段的类型的list集合
(from s in _db.Mobile_TeamActionwhere s.ActionStatus == 0 || s.ActionStatus == 1select new { s.ProductId }).ToList().Select(s=>s.ProductId)
本文共 216 字,大约阅读时间需要 1 分钟。
转换查询结果为ProductId字段的类型的list集合
(from s in _db.Mobile_TeamActionwhere s.ActionStatus == 0 || s.ActionStatus == 1select new { s.ProductId }).ToList().Select(s=>s.ProductId)
转载于:https://www.cnblogs.com/fumj/p/3555553.html