Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
Hi,
With reference to this article
https://world.optimizely.com/documentation/Items/Developers-Guide/EPiServer-Find/11/DotNET-Client-API/Searching/Filtering/Complex-objects/
It looks like for property of type IEnumerable, MatchContained can not be applied more than once but if the business logic needs to build a query like that then how to achieve , any leads?
for e.g.
Product
{
List<Market> market {get;set;}
}
Market
{
string country {get;set}
string available {get;set}
}
Since both the conditions are important, how to apply it?
(p => p.market.MatchContained(x => x.country , user.country) && (p => p.market.MatchContained(x => x.available, "Yes");
Thanks