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\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\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,