4 instantiations of EdmFunction
System.Data.Entity (4)
System\Data\Metadata\Converter.cs (1)
995EdmFunction function = new EdmFunction(somFunction.Name,
System\Data\Metadata\Edm\Provider\EdmProviderManifestFunctionBuilder.cs (2)
84EdmFunction function = new EdmFunction(aggregateFunctionName, 165EdmFunction function = new EdmFunction(functionName,
System\Data\Metadata\StoreItemCollection.cs (1)
401EdmFunction edmFunction = new EdmFunction(sTypeFunction.Name,
288 references to EdmFunction
System.Data.Entity (263)
System\Data\Common\CommandTrees\Aggregates.cs (3)
73EdmFunction _aggregateFunction; 75internal DbFunctionAggregate(TypeUsage resultType, DbExpressionList arguments, EdmFunction function, bool isDistinct) 92public EdmFunction Function { get { return _aggregateFunction; } }
System\Data\Common\CommandTrees\DbFunctionCommandTree.cs (3)
26private readonly EdmFunction _edmFunction; 42/*CQT_PUBLIC_API(*/internal/*)*/ DbFunctionCommandTree(MetadataWorkspace metadata, DataSpace dataSpace, EdmFunction edmFunction, TypeUsage resultType, IEnumerable<KeyValuePair<string, TypeUsage>> parameters) 69public EdmFunction EdmFunction
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (4)
143EdmFunction newFunction = this.VisitFunction(aggregate.Function); 214protected virtual EdmFunction VisitFunction(EdmFunction functionMetadata) { return functionMetadata; } 427EdmFunction newFunction = this.VisitFunction(expression.Function);
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (6)
148public static DbFunctionAggregate Aggregate(this EdmFunction function, DbExpression argument) 165public static DbFunctionAggregate AggregateDistinct(this EdmFunction function, DbExpression argument) 170private static DbFunctionAggregate CreateFunctionAggregate(EdmFunction function, DbExpression argument, bool isDistinct) 1466public static DbFunctionExpression Invoke(this EdmFunction function, IEnumerable<DbExpression> arguments) 1485public static DbFunctionExpression Invoke(this EdmFunction function, params DbExpression[] arguments) 1490private static DbFunctionExpression InvokeFunction(EdmFunction function, IEnumerable<DbExpression> arguments)
System\Data\Common\CommandTrees\ExpressionBuilder\EdmFunctions.cs (5)
26private static EdmFunction ResolveCanonicalFunction(string functionName, TypeUsage[] argumentTypes) 30List<EdmFunction> functions = new List<EdmFunction>( 36EdmFunction foundFunction = null; 64EdmFunction foundFunction = ResolveCanonicalFunction(functionName, argumentTypes);
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (4)
318private static FunctionParameter[] GetExpectedParameters(EdmFunction function) 324internal static DbExpressionList ValidateFunctionAggregate(EdmFunction function, IEnumerable<DbExpression> args) 1464internal static TypeUsage ValidateFunction(EdmFunction function, IEnumerable<DbExpression> arguments, out DbExpressionList validArgs) 1864private static void CheckFunction(EdmFunction function)
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (5)
66protected override EdmFunction VisitFunction(EdmFunction function) 77EdmFunction foundFunc = null; 92IList<EdmFunction> candidateFunctions; 98EdmFunction retFunc = FunctionOverloadResolver.ResolveFunctionOverloads(candidateFunctions, paramTypes, /*isGroupAggregateFunction:*/ false, out isAmbiguous);
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (1)
249internal void Dump(EdmFunction function)
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
133private void VisitFunction(EdmFunction func, IList<DbExpression> args)
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (1)
257internal TreeNode VisitFunction(EdmFunction func, IList<DbExpression> args)
System\Data\Common\CommandTrees\Internal\Validator.cs (2)
60protected override EdmFunction VisitFunction(EdmFunction function)
System\Data\Common\CommandTrees\ValueExpressions.cs (3)
275private readonly EdmFunction _functionInfo; 278internal DbFunctionExpression(TypeUsage resultType, EdmFunction function, DbExpressionList arguments) 292public EdmFunction Function { get { return _functionInfo; } }
System\Data\Common\DbProviderManifest.cs (1)
108public abstract System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetStoreFunctions();
System\Data\Common\DbXmlEnabledProviderManifest.cs (4)
28private System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> _functions; 92public override System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetStoreFunctions() 137if (!EnumerableToReadOnlyCollection<EdmFunction, GlobalItem>(items, out this._functions)) 142foreach (EdmFunction function in this._functions)
System\Data\Common\EntitySql\CqlErrorHelper.cs (1)
25internal static void ReportFunctionOverloadError(AST.MethodExpr functionExpr, EdmFunction functionType, List<TypeUsage> argTypes)
System\Data\Common\EntitySql\FunctionOverloadResolver.cs (4)
28internal static EdmFunction ResolveFunctionOverloads(IList<EdmFunction> functionsMetadata, 51internal static EdmFunction ResolveFunctionOverloads(IList<EdmFunction> functionsMetadata,
System\Data\Common\EntitySql\SemanticAnalyzer.cs (4)
1195EdmFunction functionType = SemanticResolver.ResolveFunctionOverloads( 1242EdmFunction functionType = SemanticResolver.ResolveFunctionOverloads( 1459EdmFunction functionType = SemanticResolver.ResolveFunctionOverloads( 4407EdmFunction concatFunction = SemanticResolver.ResolveFunctionOverloads(
System\Data\Common\EntitySql\SemanticResolver.cs (4)
682EdmFunction functionImport; 690resolution = new MetadataFunctionGroup(functionImport.FullName, new EdmFunction[] { functionImport }); 995internal static EdmFunction ResolveFunctionOverloads(IList<EdmFunction> functionsMetadata,
System\Data\Common\EntitySql\TypeResolver.cs (3)
138internal MetadataFunctionGroup(string name, IList<EdmFunction> functionMetadata) 148internal readonly IList<EdmFunction> FunctionMetadata; 573IList<EdmFunction> functionMetadata;
System\Data\Common\EntityUtil.cs (4)
480static internal EntityCommandExecutionException CommandExecutionDataReaderMissinDiscriminatorColumn(string columnName, EdmFunction functionImport) { 1290internal static InvalidOperationException ExecuteFunctionCalledWithNonReaderFunction(EdmFunction functionImport) { 1694static internal InvalidOperationException FunctionHasNoDefinition(EdmFunction function) 1699static internal InvalidOperationException FunctionDefinitionResultTypeMismatch(EdmFunction function, TypeUsage generatedDefinitionResultType)
System\Data\Common\Utils\CommandHelper.cs (3)
166internal static EdmFunction FindFunctionImport(MetadataWorkspace workspace, string containerName, string functionImportName) 178EdmFunction functionImport = null; 179foreach (EdmFunction candidate in entityContainer.FunctionImports)
System\Data\Common\Utils\MetadataHelper.cs (7)
28internal static bool TryGetFunctionImportReturnType<T>(EdmFunction functionImport, int resultSetIndex, out T returnType) where T : EdmType 46private static bool TryGetWrappedReturnEdmTypeFromFunctionImport<T>(EdmFunction functionImport, int resultSetIndex, out T resultType) where T : EdmType 62internal static bool TryGetFunctionImportReturnCollectionType(EdmFunction functionImport, int resultSetIndex, out CollectionType collectionType) 79internal static FunctionParameter GetReturnParameter(EdmFunction functionImport, int resultSetIndex) 86internal static EdmFunction GetFunctionImport( 100internal static EdmType GetAndCheckFunctionImportReturnType<TElement>(EdmFunction functionImport, int resultSetIndex, MetadataWorkspace workspace) 297internal static bool IsComposable(EdmFunction function)
System\Data\EntityClient\EntityCommand.cs (2)
611EdmFunction function = DetermineFunctionImport(); 622private EdmFunction DetermineFunctionImport()
System\Data\EntityClient\EntityCommandDefinition.cs (2)
166EdmFunction functionImport = mapping.FunctionImport; 221private void ValidateEdmResultType(EdmType resultType, EdmFunction functionImport)
System\Data\Mapping\BaseMetadataMappingVisitor.cs (2)
229Visit((EdmFunction)edmType); 256protected virtual void Visit(EdmFunction edmFunction)
System\Data\Mapping\FunctionImportMapping.cs (4)
30internal FunctionImportMapping(EdmFunction functionImport, EdmFunction targetFunction) 39internal readonly EdmFunction FunctionImport; 44internal readonly EdmFunction TargetFunction;
System\Data\Mapping\FunctionImportMappingComposable.cs (2)
31EdmFunction functionImport, 32EdmFunction targetFunction,
System\Data\Mapping\FunctionImportMappingNonComposable.cs (2)
27EdmFunction functionImport, 28EdmFunction targetFunction,
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
632protected override void Visit(EdmFunction edmFunction)
System\Data\Mapping\StorageEntityContainerMapping.cs (4)
74private Dictionary<EdmFunction, FunctionImportMapping> m_functionImportMappings = new Dictionary<EdmFunction, FunctionImportMapping>(); 420internal void AddFunctionImportMapping(EdmFunction functionImport, FunctionImportMapping mapping) 425internal bool TryGetFunctionImportMapping(EdmFunction functionImport, out FunctionImportMapping mapping)
System\Data\Mapping\StorageMappingItemLoader.cs (24)
1527EdmFunction targetFunction; 1534EdmFunction functionImport; 1591var cTypeTargetFunction = this.StoreItemCollection.ConvertToCTypeFunction(targetFunction); 1681private bool TryGetFunctionImportStoreFunction(XPathNavigator nav, out EdmFunction targetFunction) 1690ReadOnlyCollection<EdmFunction> functionOverloads = this.StoreItemCollection.GetFunctions(functionName); 1715out EdmFunction functionImport) 1725foreach (EdmFunction functionImportCandidate in modelContainer.FunctionImports) 1753private void ValidateFunctionImportMappingParameters(XPathNavigator nav, EdmFunction targetFunction, EdmFunction functionImport) 1835EdmFunction targetFunction, 1836EdmFunction functionImport, 1913EdmFunction functionImport, 1936private bool TryParseComplexTypeAttribute(XPathNavigator nav, ComplexType resultComplexType, EdmFunction functionImport, out ComplexType complexType) 2078EdmFunction functionImport, 2079EdmFunction cTypeTargetFunction, 2258EdmFunction functionImport, 2259EdmFunction cTypeTargetFunction, 2260EdmFunction sTypeTargetFunction, 2352EdmFunction functionImport, 2442EdmFunction functionImport, 3710private EdmFunction m_function; 4337private EdmFunction LoadAndValidateFunctionMetadata(XPathNavigator nav, out FunctionParameter rowsAffectedParameter) 4351System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> functionOverloads = 4370EdmFunction function = functionOverloads[0];
System\Data\Mapping\StorageModificationFunctionMapping.cs (2)
134EdmFunction function, 165internal readonly EdmFunction Function;
System\Data\Mapping\ViewValidator.cs (1)
220internal static bool IsStoreSpaceOrCanonicalFunction(StoreItemCollection sSpace, EdmFunction function)
System\Data\Metadata\Converter.cs (3)
855private static EdmFunction ConvertToFunction(Som.Function somFunction, 868return (EdmFunction)globalItem; 995EdmFunction function = new EdmFunction(somFunction.Name,
System\Data\Metadata\Edm\EdmFunction.cs (3)
39.Select((returnParameter) => SafeLink<EdmFunction>.BindChild<FunctionParameter>(this, FunctionParameter.DeclaringFunctionLinker, returnParameter)) 94_parameters = new SafeLinkCollection<EdmFunction, FunctionParameter>(this, FunctionParameter.DeclaringFunctionLinker, new MetadataCollection<FunctionParameter>(payload.Parameters)); 337EdmFunction.BuildIdentity(
System\Data\Metadata\Edm\EntityContainer.cs (5)
38_functionImports = new ReadOnlyMetadataCollection<EdmFunction>(new MetadataCollection<EdmFunction>()); 45private readonly ReadOnlyMetadataCollection<EdmFunction> _functionImports; 93public ReadOnlyMetadataCollection<EdmFunction> FunctionImports 211internal void AddFunctionImport(EdmFunction function)
System\Data\Metadata\Edm\FunctionParameter.cs (4)
22internal static Func<FunctionParameter, SafeLink<EdmFunction>> DeclaringFunctionLinker = fp => fp._declaringFunction; 46private readonly SafeLink<EdmFunction> _declaringFunction = new SafeLink<EdmFunction>(); 108public EdmFunction DeclaringFunction
System\Data\Metadata\Edm\ItemCollection.cs (24)
42private Dictionary<string, System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>> _functionLookUpTable; 62internal Dictionary<string, System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>> FunctionLookUpTable 68Dictionary<string, System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>> functionLookUpTable = PopulateFunctionLookUpTable(this); 307public System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetFunctions(string functionName) 319public System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetFunctions(string functionName, bool ignoreCase) 332protected static System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetFunctions( 333Dictionary<string, System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>> functionCollection, 336System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> functionOverloads; 351internal static System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetCaseSensitiveFunctions( 352System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> functionOverloads, 359List<EdmFunction> caseSensitiveFunctionOverloads = new List<EdmFunction>(functionOverloads.Count); 388internal bool TryGetFunction(string functionName, TypeUsage[] parameterTypes, bool ignoreCase, out EdmFunction function) 392string functionIdentity = EdmFunction.BuildIdentity(functionName, parameterTypes); 397function = (EdmFunction)item; 489static private Dictionary<string, System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>> PopulateFunctionLookUpTable(ItemCollection itemCollection) 491var tempFunctionLookUpTable = new Dictionary<string, List<EdmFunction>>(StringComparer.OrdinalIgnoreCase); 493foreach (EdmFunction function in itemCollection.GetItems<EdmFunction>()) 495List<EdmFunction> functionList; 498functionList = new List<EdmFunction>(); 504var functionLookUpTable = new Dictionary<string, System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>>(StringComparer.OrdinalIgnoreCase); 505foreach (List<EdmFunction> functionList in tempFunctionLookUpTable.Values) 507functionLookUpTable.Add(functionList[0].FullName, new System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>(functionList.ToArray()));
System\Data\Metadata\Edm\Provider\ClrProviderManifest.cs (1)
173public override System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetStoreFunctions()
System\Data\Metadata\Edm\Provider\EdmProviderManifest.cs (4)
30private System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> _functions; 77public override System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetStoreFunctions() 724System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> readOnlyFunctions = functions.ToFunctionCollection(); 726Interlocked.CompareExchange<System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>>(ref _functions, readOnlyFunctions, null);
System\Data\Metadata\Edm\Provider\EdmProviderManifestFunctionBuilder.cs (5)
18private readonly List<EdmFunction> functions = new List<EdmFunction>(); 39internal System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> ToFunctionCollection() 84EdmFunction function = new EdmFunction(aggregateFunctionName, 165EdmFunction function = new EdmFunction(functionName,
System\Data\Metadata\EdmItemCollection.cs (8)
188private Memoizer<EdmFunction, DbLambda> _getGeneratedFunctionDefinitionsMemoizer; 320EdmFunction function = (EdmFunction)globalItem; 323EdmFunction.BuildIdentity( 420System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> functions = providerManifest.GetStoreFunctions(); 434internal DbLambda GetGeneratedFunctionDefinition(EdmFunction function) 440new Memoizer<EdmFunction, DbLambda>(GenerateFunctionDefinition, null), 454internal DbLambda GenerateFunctionDefinition(EdmFunction function)
System\Data\Metadata\MetadataWorkspace.cs (5)
709public ReadOnlyCollection<EdmFunction> GetFunctions(string name, string namespaceName, DataSpace dataSpace) 729public ReadOnlyCollection<EdmFunction> GetFunctions(string name, 759out EdmFunction function) 1208internal DbLambda GetGeneratedFunctionDefinition(EdmFunction function) 1220internal bool TryGetFunctionImportMapping(EdmFunction functionImport, out FunctionImportMapping targetFunctionMapping)
System\Data\Metadata\ObjectHelper.cs (3)
36internal static readonly ReadOnlyCollection<EdmFunction> EmptyEdmFunctionReadOnlyCollection = new ReadOnlyCollection<EdmFunction>(new EdmFunction[0]);
System\Data\Metadata\Perspective.cs (5)
89internal bool TryGetFunctionImport(EntityContainer entityContainer, String functionImportName, bool ignoreCase, out EdmFunction functionImport) 145internal bool TryGetFunctionByName(string namespaceName, string functionName, bool ignoreCase, out IList<EdmFunction> functionOverloads) 154IList<EdmFunction> overloads = 167EdmFunction functionImport; 170overloads = new EdmFunction[] { functionImport };
System\Data\Metadata\StoreItemCollection.cs (21)
32private readonly Memoizer<EdmFunction, EdmFunction> _cachedCTypeFunction; 61_cachedCTypeFunction = new Memoizer<EdmFunction, EdmFunction>(ConvertFunctionSignatureToCType, null); 191out Memoizer<EdmFunction, EdmFunction> cachedCTypeFunction) 196cachedCTypeFunction = new Memoizer<EdmFunction, EdmFunction>(ConvertFunctionSignatureToCType, null); 312foreach (EdmFunction function in storeManifest.GetStoreFunctions()) 327internal System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetCTypeFunctions(string functionName, bool ignoreCase) 329System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> functionOverloads; 345private System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> ConvertToCTypeFunctions( 346System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> functionOverloads) 348List<EdmFunction> cTypeFunctions = new List<EdmFunction>(); 349foreach (var sTypeFunction in functionOverloads) 356internal EdmFunction ConvertToCTypeFunction(EdmFunction sTypeFunction) 364private EdmFunction ConvertFunctionSignatureToCType(EdmFunction sTypeFunction) 401EdmFunction edmFunction = new EdmFunction(sTypeFunction.Name,
System\Data\Metadata\TypeHelpers.cs (2)
584internal static RowType GetTvfReturnType(EdmFunction tvf) 839internal static bool IsCanonicalFunction(EdmFunction function)
System\Data\Metadata\TypeSemantics.cs (1)
287internal static bool IsAggregateFunction(EdmFunction function)
System\Data\Objects\ELinq\ExpressionConverter.cs (5)
1477EdmFunction function = FindCanonicalFunction(functionName, translatedArgumentTypes, false /* isGroupAggregateFunction */, Expression); 1489private EdmFunction FindCanonicalFunction(string functionName, IList<TypeUsage> argumentTypes, bool isGroupAggregateFunction, Expression Expression) 1503private EdmFunction FindFunction(string namespaceName, string functionName, IList<TypeUsage> argumentTypes, bool isGroupAggregateFunction, Expression Expression) 1506IList<EdmFunction> candidateFunctions; 1515EdmFunction function = FunctionOverloadResolver.ResolveFunctionOverloads(candidateFunctions, argumentTypes, isGroupAggregateFunction, out isAmbiguous);
System\Data\Objects\ELinq\MethodCallTranslator.cs (4)
610EdmFunction function = parent.FindFunction(functionAttribute.NamespaceName, functionAttribute.FunctionName, argumentTypes, false, call); 1771EdmFunction function = FindFunction(parent, call, returnType); 1820protected virtual EdmFunction FindFunction(ExpressionConverter parent, MethodCallExpression call, 1995protected override EdmFunction FindFunction(ExpressionConverter parent, MethodCallExpression call,
System\Data\Objects\ObjectContext.cs (5)
2578EdmFunction functionImport; 2609EdmFunction functionImport; 2636private EntityCommand CreateEntityCommandForFunctionImport(string functionName, out EdmFunction functionImport, params ObjectParameter[] parameters) 2763private void PopulateFunctionImportEntityCommandParameters(ObjectParameter[] parameters, EdmFunction functionImport, EntityCommand command) 2833private static FunctionParameter FindParameterMetadata(EdmFunction functionImport, ObjectParameter[] parameters, int ordinal)
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
352private static int GetDiscriminatorOrdinalFromReader(DbDataReader storeDataReader, string columnName, EdmFunction functionImport)
System\Data\Query\InternalTrees\Command.cs (2)
691internal FunctionOp CreateFunctionOp(EdmFunction function) 802internal AggregateOp CreateAggregateOp(EdmFunction aggFunc, bool distinctAgg)
System\Data\Query\InternalTrees\ScalarOps.cs (6)
364private EdmFunction m_function; 368internal FunctionOp(EdmFunction function) 385internal EdmFunction Function { get { return m_function; } } 834private EdmFunction m_aggFunc; 839internal AggregateOp(EdmFunction aggFunc, bool distinctAgg) 857internal EdmFunction AggFunc { get { return m_aggFunc; } }
System\Data\Query\PlanCompiler\ITreeGenerator.cs (7)
199private readonly Stack<EdmFunction> _functionExpansions = new Stack<EdmFunction>(); 404EdmFunction edmFunction = ((DbFunctionExpression)expr).Function; 876private void EnterLambdaFunction(DbLambda lambda, List<Tuple<Node, bool>> argumentValues, EdmFunction expandingEdmFunction) 913private LambdaScope ExitLambdaFunction(EdmFunction expandingEdmFunction) 926EdmFunction edmFunction = _functionExpansions.Pop(); 1084private Node VisitLambdaExpression(DbLambda lambda, IList<DbExpression> arguments, DbExpression applicationExpr, EdmFunction expandingEdmFunction)
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (5)
113private readonly Dictionary<md.EdmFunction, md.EdmProperty[]> m_tvfResultKeys; 125Dictionary<md.EdmFunction, md.EdmProperty[]> tvfResultKeys) 149Dictionary<md.EdmFunction, md.EdmProperty[]> tvfResultKeys) 1320md.EdmFunction processingTVF = null; 1459private IEnumerable<md.EdmProperty> GetTvfResultKeys(md.EdmFunction tvf)
System\Data\Query\PlanCompiler\PlanCompiler.cs (1)
303Dictionary<md.EdmFunction, md.EdmProperty[]> tvfResultKeys;
System\Data\Query\PlanCompiler\PreProcessor.cs (4)
126private readonly Dictionary<EdmFunction, EdmProperty[]> m_tvfResultKeys = new Dictionary<EdmFunction, EdmProperty[]>(); 156out Dictionary<EdmFunction, EdmProperty[]> tvfResultKeys) 176internal void Process(out Dictionary<EdmFunction, EdmProperty[]> tvfResultKeys)
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (2)
1694internal static void WriteFunctionName(SqlBuilder result, EdmFunction function) 1741internal static bool IsStoreFunction(EdmFunction function)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (2)
446EdmFunction function = tree.EdmFunction; 827EdmFunction function = functionExpr.Function;
System\Data\SqlClient\SqlProviderManifest.cs (5)
47private System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> _functions = null; 212public override System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetStoreFunctions() 223IEnumerable<EdmFunction> functions = base.GetStoreFunctions().Where(f => !IsKatmaiOrNewer(f)); 236private static bool IsKatmaiOrNewer(EdmFunction edmFunction) 297private static bool IsYukonOrNewer(EdmFunction edmFunction)
System\Data\SqlClient\SqlProviderServices.cs (1)
105EdmFunction function = null;
System.Data.Entity.Design (25)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (3)
139WriteFunctionElement((EdmFunction)type); 152private void WriteFunctionElement(EdmFunction function) 701foreach (EdmFunction functionImport in container.FunctionImports.Where(fi => fi.IsComposableAttribute))
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (8)
35internal List<Tuple<EdmFunction, EdmFunction>> StoreFunctionToFunctionImport = new List<Tuple<EdmFunction, EdmFunction>>(); 298var storeFunction = functionMapping.Item1; 299var functionImport = functionMapping.Item2; 306private void WriteFunctionImportMappingElement(XmlWriter writer, EdmFunction storeFunction, EdmFunction functionImport)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (4)
81storeItemCollection.GetItems<EdmFunction>().Where(f => f.IsFromProviderManifest == false && 88private void Initialize(EntityContainer storeEntityContainer, IEnumerable<EdmFunction> storeFunctions, string namespaceName, string modelEntityContainerName) 134private EdmFunction[] _storeFunctions; 540var functionImport = new EdmFunction(functionImportName, _modelEntityContainerName, DataSpace.CSpace, new EdmFunctionPayload()
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (2)
197foreach (EdmFunction function in session.Functions) 690EdmFunction function = new EdmFunction(functionName,
System\Data\Entity\Design\EntityStoreSchemaGenerator\EntityStoreSchemaGenerator.LoadMethodSessionState.cs (2)
34public List<EdmFunction> Functions = new List<EdmFunction>();
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (4)
109foreach (EdmFunction functionImport in Item.FunctionImports) 126private bool ShouldEmitFunctionImport(EdmFunction functionImport) 142private EdmType GetReturnTypeFromFunctionImport(EdmFunction functionImport) 466private CodeMemberMethod CreateFunctionImportStructuralTypeReaderMethod(EdmFunction functionImport)
System\Data\EntityModel\Emitters\MetadataItemEmitter.cs (1)
75protected static MemberAttributes GetFunctionImportAccessibility(EdmFunction item)
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
94Debug.Assert(!(element is EdmFunction), "Are you trying to emit functions now? If so add an emitter for it.");