84 references to CreateNode
System.Data.Entity (84)
System\Data\Mapping\FunctionImportMappingComposable.cs (2)
132Node castNode = itree.CreateNode(itree.CreateSoftCastOp(expectedElementType), varRefNode); 157argumentNode = targetIqtCommand.CreateNode(
System\Data\Query\InternalTrees\Command.cs (9)
1065Node varDefNode = this.CreateNode(varDefOp, definingExpr); 1080Node varDefListNode = this.CreateNode(op, varDefNode); 1694Node varDefNode = this.CreateNode(varDefOp, expr); 1742Node predicate = this.CreateNode(isOfOp, this.CreateNode(this.CreateVarRefOp(inputVar))); 1758Node treatNode = this.CreateNode(this.CreateFakeTreatOp(desiredType), 1780arg0 = this.CreateNode(this.CreateSoftCastOp(commonType), arg0); 1784arg1 = this.CreateNode(this.CreateSoftCastOp(commonType), arg1); 1799Node physicalProjectNode = this.CreateNode(this.CreatePhysicalProjectOp(relOpVar), relOpNode); 1801Node collectNode = this.CreateNode(this.CreateCollectOp(collectOpType), physicalProjectNode);
System\Data\Query\PlanCompiler\AggregatePushdown.cs (3)
377templateNode = command.CreateNode(newSoftCastOp, templateNode); 556computationTemplate = this._command.CreateNode(this._command.CreatePropertyOp(localProperty), computationTemplate); 917Node newFunctionDefiningNode = m_command.CreateNode(
System\Data\Query\PlanCompiler\ITreeGenerator.cs (28)
315newRoot = _iqtCommand.CreateNode(unnestOp, varDefListNode.Child0); 517node = _iqtCommand.CreateNode(collectOp, projectNode); 542arguments.Add(_iqtCommand.CreateNode(_iqtCommand.CreateConditionalOp(OpType.Not), predCopy)); 618return _iqtCommand.CreateNode(op, exprDelegate(e.Argument)); 698Node unnestNode = _iqtCommand.CreateNode(unnest, varDefNode); 756Node projectNode = _iqtCommand.CreateNode(projectOp, input); 1151Node castNode = _iqtCommand.CreateNode(_iqtCommand.CreateSoftCastOp(targetType), varRefNode); 1170return _iqtCommand.CreateNode(castOp, node); 1190return _iqtCommand.CreateNode(_iqtCommand.CreateGetEntityRefOp(refType), arg); 1301retNode = _iqtCommand.CreateNode(op, instance); 1493return _iqtCommand.CreateNode(op, _iqtCommand.CreateNode(_iqtCommand.CreateInternalConstantOp(_iqtCommand.BooleanType, true))); 1502return _iqtCommand.CreateNode(op, argNode); 1542Node distinctNode = _iqtCommand.CreateNode(distinctOp, inputSetNode); 1561inputSetNode = _iqtCommand.CreateNode(_iqtCommand.CreateSingleRowOp(), inputSetNode); 1566return _iqtCommand.CreateNode(elementOp, inputSetNode); 1577return _iqtCommand.CreateNode( 1579_iqtCommand.CreateNode(existsOp, inputSetNode) 2112return _iqtCommand.CreateNode(op, newArg); 2120return _iqtCommand.CreateNode(op, arg); 2557_iqtCommand.CreateNode( 2728_iqtCommand.CreateNode( 2731_iqtCommand.CreateNode( 2777FlattenProperties(_iqtCommand.CreateNode(_iqtCommand.CreatePropertyOp(properties[i]), newInput), flattenedProperties); 2943Node newSortNode = _iqtCommand.CreateNode(newSortOp, inputNode); 2982predicateNode = _iqtCommand.CreateNode( 2992predicateCopy = _iqtCommand.CreateNode( 3020retNode = _iqtCommand.CreateNode(_iqtCommand.CreateExistsOp(), inputNode); 3027retNode = _iqtCommand.CreateNode(_iqtCommand.CreateConditionalOp(OpType.Not), retNode);
System\Data\Query\PlanCompiler\JoinGraph.cs (2)
2339Node isNotNullNode = m_command.CreateNode(m_command.CreateConditionalOp(OpType.IsNull), varRefNode); 2340isNotNullNode = m_command.CreateNode(m_command.CreateConditionalOp(OpType.Not), isNotNullNode);
System\Data\Query\PlanCompiler\NestPullup.cs (6)
600Node predicateNode = Command.CreateNode( 602Command.CreateNode( 1534Node newSingleRowOpNode = Command.CreateNode(op, n.Child0); 1867Node newDefiningNode = Command.CreateNode(newPhysicalProjectOp, collectionVarDefinitionPair.Value); 2005sortNode = Command.CreateNode(sortOp, nestNode.Child0); 2328Node newNestNode = Command.CreateNode(newSsnOp, unionAllNode);
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (5)
317return m_command.CreateNode(newPropertyOp, this.Copy(input)); 379Node newNode = m_command.CreateNode(m_command.CreateSoftCastOp(targetType), node); 1536Node varDefOpNode = m_command.CreateNode(varDefOp, CreateNullConstantNode(v.Type)); 1862return m_command.CreateNode(m_command.CreateCastOp(md.TypeUsage.Create(underlyingType, op.Type.Facets)), n.Child0); 2221Node isNullNode = m_command.CreateNode(m_command.CreateConditionalOp(OpType.IsNull), propertyValue);
System\Data\Query\PlanCompiler\Normalizer.cs (5)
122Node unnestNode = m_command.CreateNode(unnestOp, varDefNode); 140Node projectNode = m_command.CreateNode(projectOp, unnestNode); 142Node collectNode = m_command.CreateNode(collectOp, projectNode); 191unnestVarRefNode = m_command.CreateNode(m_command.CreateSoftCastOp(softCastType), unnestVarRefNode); 193Node aggExprNode = m_command.CreateNode(aggregateOp, unnestVarRefNode);
System\Data\Query\PlanCompiler\PreProcessor.cs (19)
391ret = m_command.CreateNode(scanViewOp, ret); 487Node relPropertyNode = m_command.CreateNode(relPropertyOp, 535Node targetEnd = m_command.CreateNode(m_command.CreatePropertyOp(navigateOp.ToEnd), 537Node sourceEnd = m_command.CreateNode(m_command.CreatePropertyOp(navigateOp.FromEnd), 651Node entityRefNode = m_command.CreateNode( 724m_command.CreateNode(m_command.CreateGetEntityRefOp(end.TypeUsage), m_command.CreateNode(m_command.CreateVarRefOp(esVar))), 725m_command.CreateNode(m_command.CreatePropertyOp(end), m_command.CreateNode(m_command.CreateVarRefOp(rsVar))) 756Node relPropertyNode = m_command.CreateNode(relPropertyOp, sourceEntityNode); 758Node derefNode = m_command.CreateNode(derefOp, relPropertyNode); 868Node inverseRelPropertyNode = m_command.CreateNode( 937Node rsSourceRefNode = m_command.CreateNode(m_command.CreatePropertyOp(relProperty.FromEnd), 1002Node sourceRefNode = m_command.CreateNode( 1469Node isNullNode = m_command.CreateNode(isNullOp, n.Child0); 1476Node notNode = m_command.CreateNode(notOp, isNullNode); 1668Node sourceEndNode = m_command.CreateNode( 1673m_command.CreateNode(m_command.CreateGetRefKeyOp(keyExpr.Op.Type), sourceEndNode)); 1686ret = m_command.CreateNode( 2027Node physicalProjectNode = m_command.CreateNode(physicalProjectOp, resultNode); 2030Node collectNode = m_command.CreateNode(collectOp, physicalProjectNode);
System\Data\Query\PlanCompiler\SubqueryTrackingVisitor.cs (1)
249Node existsNode = m_command.CreateNode(m_command.CreateExistsOp(), filterNode);
System\Data\Query\PlanCompiler\TransformationRules.cs (4)
345Node whenNode = this.Command.CreateNode(this.Command.CreateConditionalOp(OpType.IsNull), varRefNode); 1661Node newDistinctNode = context.Command.CreateNode(distinctNode.Op, pushdownFilterNode); 2945Node elementNode = command.CreateNode(command.CreateElementOp(oldVar.Type), applyNode.Child1); 4192newNode = command.CreateNode(command.CreateDistinctOp(command.CreateVarVec(op.Keys)), newNode);