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