1 type derived from BinaryNode
System.Data.Common (1)
System\Data\Filter\BinaryNode.cs (1)
1510internal sealed class LikeNode : BinaryNode
6 instantiations of BinaryNode
System.Data.Common (6)
System\Data\Filter\ExpressionParser.cs (1)
728expr = new BinaryNode(_table, opInfo._op, nodeLeft, nodeRight);
System\Data\Select.cs (5)
135_linearExpression = (_linearExpression == null ? e : new BinaryNode(_table, Operators.And, e, _linearExpression)); 144canColumn.expr = (canColumn.expr == null ? expr : new BinaryNode(_table, Operators.And, expr, canColumn.expr)); 167canColumn.expr = (canColumn.expr == null ? expr : new BinaryNode(_table, Operators.And, expr, canColumn.expr)); 177_linearExpression = (_linearExpression == null ? expr : new BinaryNode(_table, Operators.And, expr, _linearExpression)); 499_linearExpression = (_linearExpression == null ? _candidateColumns[i].expr : new BinaryNode(_table, Operators.And, expr, _linearExpression));
32 references to BinaryNode
System.Data.Common (32)
System\Data\Filter\BinaryNode.cs (11)
299vLeft = BinaryNode.Eval(left, row, version, recordNos); 300vRight = BinaryNode.Eval(right, row, version, recordNos); 898vLeft = BinaryNode.Eval(left, row, version, recordNos); 906vLeft = BinaryNode.Eval(left, row, version, recordNos); 920vLeft = BinaryNode.Eval(left, row, version, recordNos); 926vRight = BinaryNode.Eval(right, row, version, recordNos); 947vRight = BinaryNode.Eval(right, row, version, recordNos); 975vLeft = BinaryNode.Eval(left, row, version, recordNos); 981vRight = BinaryNode.Eval(right, row, version, recordNos); 993vRight = BinaryNode.Eval(right, row, version, recordNos); 1093vLeft = BinaryNode.Eval(left, row, version, recordNos);
System\Data\Select.cs (21)
33public BinaryNode? expr; // Binary Search capable expression associated 58private void AnalyzeExpression(BinaryNode expr) 74if (expr._left is BinaryNode) 76AnalyzeExpression((BinaryNode)expr._left); 90if (unaryNode._op == Operators.Noop && unaryNode._right is BinaryNode) 92AnalyzeExpression((BinaryNode)(unaryNode._right)); 102if (expr._right is BinaryNode) 104AnalyzeExpression((BinaryNode)expr._right); 118if (unaryNode._op == Operators.Noop && unaryNode._right is BinaryNode) 120AnalyzeExpression((BinaryNode)(unaryNode._right)); 457BinaryNode? bnode = (enode as BinaryNode); 497if (_candidateColumns[i].expr is BinaryNode expr) 517if (_expression is BinaryNode) 519AnalyzeExpression((BinaryNode)_expression); 636private int Eval(BinaryNode expr, DataRow row, DataRowVersion version) 640int lResult = Eval((BinaryNode)expr._left, row, version); 643int rResult = Eval((BinaryNode)expr._right, row, version); 675resultType = BinaryNode.ResultSqlType(leftType, rightType, expr._op); 679resultType = BinaryNode.ResultType(leftType, rightType, isLConst, isRConst, expr._op); 683BinaryNode.SetTypeMismatchError(expr._op, vLeft.GetType(), vRight.GetType());