异常时 null 无法创建类型为“System.Collections.Generic.List`1”的空常量值。此上下文仅支持实体类型、枚举类型或原始类型。查询是
List<string> tempList = context.BusinessEntities.Where(w => RelatedBusinessEntityGuids.Contains(w.BusinessEntityGuid))
.Select(s => s.Name).ToList();
如果没有匹配(空),那么它会出错,我该如何解决它,