Example #1
0
        public Term And(Term right)
        {
            if (right == null)
            {
                throw new ArgumentNullException("right", "Cannot And against a null term");
            }

            right.Operator = OperatorType.And;
            return new Term(this, right);
        }
Example #2
0
 public virtual void Where(Term term)
 {
     SlimLock.EnterWriteLock();
     try
     {
         whereClause = term;
     }
     finally
     {
         SlimLock.ExitWriteLock();
     }
 }