[CSHARP-3873] Implement Invoke() to allow for dynamic predicate creation. Created: 22/Sep/21 Updated: 17/Nov/22 |
|
| Status: | Backlog |
| Project: | C# Driver |
| Component/s: | LINQ3 |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Unknown |
| Reporter: | Richard Collette | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Using the PredicateBuilder class as discussed here: When using the expression built by PredicateBuilder, which in this case is of type Expression<Func<Product, bool>> to .Find() or to AsQueryable().Where(): I get the error
I am attempting to implement dynamic, nested OR predicates as mentioned in that article. |
| Comments |
| Comment by Dmitry Lukyanov (Inactive) [ 22/Sep/21 ] |
|
Hello richard.collette@gmail.com , thanks for your suggestion. We don't support this functionality in the current LINQ implementation, but this looks like an interesting idea that we will consider for new LINQ implementation that we're currently actively reviewing. |