Пример #1
0
        public static bool ExpressionYieldsNullOrFalseIfRowBufferEntryNull(ExpressionNode expressionNode, RowBufferEntry rowBufferEntry)
        {
            NullRejectionChecker checker = new NullRejectionChecker(rowBufferEntry);

            checker.Visit(expressionNode);

            if (checker.ExpressionRejectsNull)
            {
                return(true);
            }

            return(false);
        }
Пример #2
0
		public static bool ExpressionYieldsNullOrFalseIfRowBufferEntryNull(ExpressionNode expressionNode, RowBufferEntry rowBufferEntry)
		{
			NullRejectionChecker checker = new NullRejectionChecker(rowBufferEntry);
			checker.Visit(expressionNode);

			if (checker.ExpressionRejectsNull)
				return true;

			return false;
		}