Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Not sure if it's what you need but if in your example the ProductVariations property had been a Dictionary where you can predict the key it will work with Find.
http://www.lindstromhenrik.com/searching-dictionaries-with-episerver-find/
Hi!
I have a collection of products and by convention we've added the variants as a property so they are indexed together.
What I'd like to do is project over the results and get the cheapest variant in order to retreive some data to be displayed. This prevents me from loading all variants when the search results.
Is it possible, when projecting, to filter a nested collection?
Example:
The SpecificationsList is always empty because Find cannot interpret the FirstOrDefault method I guess but I can't Filter there either.
Thanks for helping out!
/Mark