List<BusinessObjects.BusinessEntity> relatedBEs =
(from be in context.BusinessEntities
.Where(w=> RelatedBusinessEntityGuids.Contains(w.BusinessEntityGuid))
.Select(s=>s.Name)).ToList;
質問する
1580 次
1 に答える
0
これを試して:
List<BusinessObjects.BusinessEntity> relatedBEs = context.BusinessEntities.Where(w=> RelatedBusinessEntityGuids.Contains(w.BusinessEntityGuid)).ToList();
アップデート:
List<string> names= context.BusinessEntities.Where(w=> RelatedBusinessEntityGuids.Contains(w.BusinessEntityGuid)).Select(s=>s.Name).ToList();
于 2013-07-30T09:12:52.563 に答える