Example #1
0
 /// <summary>
 /// Add an Expression to constrain the results to be retrieved. Will be added with "OR"
 /// </summary>
 /// <param name="expression"></param>
 /// <returns></returns>
 public virtual IFilter AddOr(AbstractExpression expression)
 {
     if (_junction == null)
     {
         _junction = Expression.Disjunction().Add(expression);
     }
     else
     {
         _junction = Expression.Disjunction().Add(_junction).Add(expression);
     }
     return this;
 }