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