LINQ filtering on dates #392
-
Hello,
But if I try to filter on dates, I get exception: So, it's not supported now, or I'm doing something incorrectly? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@wonderplayer : we've built a custom LINQ provider so we could translate the LINQ expression into a SP/Graph query. The current implementation indeed does only support basic expressions, so what you see is expected. Depending on your scenario doing a CAML query in combination with the ListDataAsStream method might be an alternative solution for you: https://pnp.github.io/pnpcore/using-the-sdk/listitems-intro.html#using-paging-with-listdataasstream |
Beta Was this translation helpful? Give feedback.
@wonderplayer : we've built a custom LINQ provider so we could translate the LINQ expression into a SP/Graph query. The current implementation indeed does only support basic expressions, so what you see is expected. Depending on your scenario doing a CAML query in combination with the ListDataAsStream method might be an alternative solution for you: https://pnp.github.io/pnpcore/using-the-sdk/listitems-intro.html#using-paging-with-listdataasstream