2 instantiations of NameNode
System.Data.Common (2)
System\Data\Filter\ExpressionParser.cs (2)
277
node = new
NameNode
(_table, _text, _start, _pos);
537
NodePush(new
NameNode
(_table, newName));
24 references to NameNode
System.Data.Common (24)
System\Data\Filter\ExpressionParser.cs (12)
249
relname =
NameNode
.ParseName(_text, _start, _pos);
265
colname =
NameNode
.ParseName(_text, _start, _pos);
349
if (nodebefore == null || nodebefore.GetType() != typeof(
NameNode
))
356
NameNode
name = (
NameNode
)NodePop();
529
if (before != null && before.GetType() == typeof(
NameNode
))
535
NameNode
nameBefore = (
NameNode
)NodePop();
536
string newName = nameBefore._name + "." +
NameNode
.ParseName(_text, _start, _pos);
577
colname =
NameNode
.ParseName(_text, _start, _pos);
592
relname =
NameNode
.ParseName(_text, _start, _pos);
603
colname =
NameNode
.ParseName(_text, _start, _pos);
System\Data\Filter\FunctionNode.cs (5)
98
if (_arguments[1].GetType() == typeof(
NameNode
))
100
NameNode
type = (
NameNode
)_arguments[1];
285
if (nodeType == typeof(
NameNode
))
287
typeName = ((
NameNode
)node)._name;
System\Data\Select.cs (7)
141
if (expr._left is
NameNode
&& expr._right is ConstNode)
143
ColumnInfo canColumn = _candidateColumns[((
NameNode
)(expr._left))._column!.Ordinal];
153
if (expr._right is
NameNode
&& expr._left is ConstNode)
166
ColumnInfo canColumn = _candidateColumns[((
NameNode
)(expr._left))._column!.Ordinal];
690
NameNode
? namedNode;
692
((isLConst && !isRConst && (leftType == StorageType.String) && (rightType == StorageType.Guid) && (null != (namedNode = expr._right as
NameNode
)) && (namedNode._column!.DataType == typeof(Guid))) ||
693
(isRConst && !isLConst && (rightType == StorageType.String) && (leftType == StorageType.Guid) && (null != (namedNode = expr._left as
NameNode
)) && (namedNode._column!.DataType == typeof(Guid))))