18 references to Function
System.Data.Entity (18)
System\Data\Query\InternalTrees\OpCopier.cs (1)
353
return CopyDefault(m_destCmd.CreateFunctionOp(op.
Function
), n);
System\Data\Query\InternalTrees\ScalarOps.cs (2)
395
return (otherFunctionOp != null && otherFunctionOp.
Function
.EdmEquals(this.
Function
));
System\Data\Query\PlanCompiler\AggregatePushdown.cs (1)
918
m_command.CreateAggregateOp(functionOp.
Function
, false),
System\Data\Query\PlanCompiler\CTreeGenerator.cs (1)
715
return op.
Function
.Invoke(VisitChildren(n));
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (1)
1340
processingTVF = ((FunctionOp)chi.Child0.Op).
Function
;
System\Data\Query\PlanCompiler\Normalizer.cs (1)
186
AggregateOp aggregateOp = m_command.CreateAggregateOp(op.
Function
, false);
System\Data\Query\PlanCompiler\PlanCompilerUtil.cs (1)
83
TypeSemantics.IsAggregateFunction(op.
Function
));
System\Data\Query\PlanCompiler\PreProcessor.cs (10)
1121
if (op.
Function
.IsFunctionImport)
1123
PlanCompiler.Assert(op.
Function
.IsComposableAttribute, "Cannot process a non-composable function inside query tree composition.");
1126
if (!m_command.MetadataWorkspace.TryGetFunctionImportMapping(op.
Function
, out functionImportMapping))
1128
throw EntityUtil.Metadata(System.Data.Entity.Strings.EntityClient_UnmappedFunctionImport(op.
Function
.FullName));
1146
if (op.
Function
.EntitySet != null)
1148
m_entityTypeScopes.Push(op.
Function
.EntitySet);
1149
AddEntitySetReference(op.
Function
.EntitySet);
1161
if (op.
Function
.EntitySet != null)
1164
PlanCompiler.Assert(scope == op.
Function
.EntitySet, "m_entityTypeScopes stack is broken");
1171
PlanCompiler.Assert(op.
Function
.EntitySet == null, "Entity type scope is not supported on functions that aren't mapped.");