Svyatoslav Danyliv
Svyatoslav Danyliv
This is EF Core limitation. With local collections it can do only `Contains` or VERY simple Any, which is not your case. Check my [SO answer](https://stackoverflow.com/a/67666993/10646316)
You are not alone: https://github.com/dotnet/efcore/issues/19070
@a-stankevich, post reproducible sample and I’ll fix that.
@a-stankevich, well, Ii is not a bug. You have used `AsExpandable()` in Expression Lambda body. In this case LINQKit expander cannot be activated. You have to use `AsExpandable` on top...
@kuebelkasten, it is your question in SO?
Well, answer added: https://stackoverflow.com/a/66650693/10646316
It is not correct way of using Expandable attribute and is not original SO question.
Anyway, try to remove `Expand`, probably it may work also.
I need full call stack. Anyway, weird filtering technique.