.Net Search (A or B) and C

Not applicable
11-20-2016
09:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Trying to create a search that would do an 'OR' condition on a group with an additional 'AND' condition outside the group, i.e.: (A OR B) AND C.
Because the conditions in a group are joined with 'AND' and not 'OR', I can do this by creating 2 groups (A AND B) OR (A AND C) but this quickly become dirty when having more complex conditions for instance:
(A OR B) AND (C OR D) would have to be written (A AND C) OR (A AND D) OR (B AND C) OR (B AND D), and you can see how many conditions that creates.
Is there a way to make a group of 'OR' conditions?