You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation says that AsExpandable is needed when using PredicateBuilder and that Invoke is used with the original expression when adding an And or Or clause, but the output from LINQKit.Microsoft.EntityFrameworkCore v5.0.26 doesn't use Invoke and doesn't appear to need AsExpandable any more.
The text was updated successfully, but these errors were encountered:
I'm interested as well in the answer to this as the line in the documentation surprised me while I was reading it after using LinqKit for the last few years.
It would seem, that since #54 you no longer need AsExpandable or Expand for every predicate. There are however cases were you may benefit from using it, and if you use e.g. Invoke yourself or [Expandable] it is still needed, as the PredicateBuilder does not internally call Expand, but only not uses Invoke any longer.
The documentation says that
AsExpandable
is needed when usingPredicateBuilder
and thatInvoke
is used with the original expression when adding anAnd
orOr
clause, but the output from LINQKit.Microsoft.EntityFrameworkCore v5.0.26 doesn't useInvoke
and doesn't appear to needAsExpandable
any more.The text was updated successfully, but these errors were encountered: