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