Doing a "Or" Search with the API
Not applicable
12-08-2011
12:52 PM
Hi, I'm trying to do a "OR" search using the API, but could not find how to do it.
I'm creating a Search, 2 SearchConditions and tried to to use the Search Add and the AddGroup with a SearchConditionCollection, but both worked as an "AND" search.
I already read the API Documentation and all Classes related but could not find a OR flag.
I did it using LINQ, but instead of 1 minute my process took 20 minuts (Where(x => (x.DisplayName == m_value || x.DisplayName == m_value2)));) so is a no go.
Glad for any help.
Link copied