예제 #1
0
파일: Term.cs 프로젝트: dustrider/Idol.net
        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);
        }
예제 #2
0
 public virtual void Where(Term term)
 {
     SlimLock.EnterWriteLock();
     try
     {
         whereClause = term;
     }
     finally
     {
         SlimLock.ExitWriteLock();
     }
 }