Пример #1
0
 protected override bool InternalChange(Program program, IRow oldRow, IRow newRow, BitArray valueFlags, string columnName)
 {
     if (PropagateChangeLeft)
     {
         return(LeftNode.Change(program, oldRow, newRow, valueFlags, columnName));
     }
     return(false);
 }
Пример #2
0
        protected override bool InternalChange(Program program, IRow oldRow, IRow newRow, BitArray valueFlags, string columnName)
        {
            bool changed = false;

            if (PropagateChangeLeft)
            {
                changed = LeftNode.Change(program, oldRow, newRow, valueFlags, columnName);
            }
            if (PropagateChangeRight)
            {
                changed = RightNode.Change(program, oldRow, newRow, valueFlags, columnName) || changed;
            }
            return(changed);
        }