(5.6) を使用Microsoft.Data.Odata
して次のクエリを実行しています。
IEnumerable<Service> services = context.Services.Expand(ServiceQueryExpansion)
.Where(c =>
(serviceNames.Any(s => s.Equals(
c.ServiceName, StringComparison.OrdinalIgnoreCase))))
serviceNames は文字列の IEnumerable です
上記のクエリを実行すると、次のエラーが発生します。
Error translating Linq expression to URI: The source parameter for the 'Any' method has to be either a navigation or a collection property.
これを解決するにはどうすればよいですか?