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