53 references to Parameters
System.Data.Entity (49)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (2)
321return function.Parameters.Where(p => p.Mode == ParameterMode.In || p.Mode == ParameterMode.InOut).ToArray(); 1894IList<FunctionParameter> functionParams = function.Parameters;
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (2)
68List<TypeUsage> paramTypes = new List<TypeUsage>(function.Parameters.Count); 69foreach (FunctionParameter funcParam in function.Parameters)
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (1)
252Dump(function.Parameters);
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (2)
262AppendParameters(funcInfo, func.Parameters.Select(fp => new KeyValuePair<string, TypeUsage>(fp.Name, fp.TypeUsage))); 265AppendArguments(funcInfo, func.Parameters.Select(fp => fp.Name).ToArray(), args);
System\Data\Common\EntitySql\FunctionOverloadResolver.cs (2)
36(edmFunction) => edmFunction.Parameters, 63(edmFunction) => edmFunction.Parameters,
System\Data\Common\EntitySql\SemanticAnalyzer.cs (5)
1217ConvertUntypedNullsInArguments(args, functionType.Parameters, (parameter) => parameter.TypeUsage); 1282Debug.Assert((1 == functionType.Parameters.Count), "(1 == functionType.Parameters.Count)"); // we only support monadic aggregate functions 1283Debug.Assert(TypeSemantics.IsCollectionType(functionType.Parameters[0].TypeUsage), "functionType.Parameters[0].Type is CollectionType"); 1288ConvertUntypedNullsInArguments(args, functionType.Parameters, (parameter) => TypeHelpers.GetElementTypeUsage(parameter.TypeUsage)); 1484ConvertUntypedNullsInArguments(args, functionType.Parameters, (parameter) => parameter.TypeUsage);
System\Data\Mapping\BaseMetadataMappingVisitor.cs (1)
266foreach (var functionParameter in edmFunction.Parameters)
System\Data\Mapping\FunctionImportMappingComposable.cs (7)
56m_commandParameters = functionImport.Parameters.Select(p => TypeHelpers.GetPrimitiveTypeUsageForScalar(p.TypeUsage).Parameter(p.Name)).ToArray(); 252Debug.Assert(this.FunctionImport.Parameters.Count == m_commandParameters.Length, "this.FunctionImport.Parameters.Count == m_commandParameters.Length"); 253Debug.Assert(this.TargetFunction.Parameters.Count == m_commandParameters.Length, "this.TargetFunction.Parameters.Count == m_commandParameters.Length"); 254foreach (var targetParameter in this.TargetFunction.Parameters) 256Debug.Assert(this.FunctionImport.Parameters.Contains(targetParameter.Name), "this.FunctionImport.Parameters.Contains(targetParameter.Name)"); 257var functionImportParameter = this.FunctionImport.Parameters.Single(p => p.Name == targetParameter.Name); 258yield return m_commandParameters[this.FunctionImport.Parameters.IndexOf(functionImportParameter)];
System\Data\Mapping\StorageMappingItemLoader.cs (8)
1757foreach (FunctionParameter targetParameter in targetFunction.Parameters) 1761if (!functionImport.Parameters.TryGetValue(targetParameter.Name, false, out importParameter)) 1819foreach (FunctionParameter importParameter in functionImport.Parameters) 1823if (!targetFunction.Parameters.TryGetValue(importParameter.Name, false, out targetParameter)) 3891Set<FunctionParameter> unmappedParameters = new Set<FunctionParameter>(m_function.Parameters); 4223!m_function.Parameters.TryGetValue(parameterName, false, out parameter)) 4386if (!function.Parameters.TryGetValue(rowsAffectedParameterName, false, out rowsAffectedParameter)) 4418foreach (FunctionParameter parameter in function.Parameters)
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (1)
703functionMapping.Function.Parameters.Select(paramInfo => new KeyValuePair<string, TypeUsage>(paramInfo.Name, paramInfo.TypeUsage));
System\Data\Metadata\Edm\EdmFunction.cs (2)
317this.Parameters.Source.SetReadOnly(); 340Parameters,
System\Data\Metadata\EdmItemCollection.cs (2)
326function.Parameters, 468function.Parameters,
System\Data\Metadata\StoreItemCollection.cs (2)
387if (sTypeFunction.Parameters.Count > 0) 390foreach (var parameter in sTypeFunction.Parameters)
System\Data\Objects\ObjectContext.cs (2)
2841if (!functionImport.Parameters.TryGetValue(parameterName, false, out functionParameter)) 2854functionImport.Parameters.TryGetValue(parameterName, true, out functionParameter);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
1070argNodes.Add(BuildSoftCast(VisitExprAsScalar(e.Arguments[idx]), e.Function.Parameters[idx].TypeUsage));
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (5)
558foreach (FunctionParameter functionParameter in e.Function.Parameters) 769Debug.Assert(functionExpression.Function.Parameters.Count > 0 && Helper.IsSpatialType(functionExpression.Function.Parameters[0].TypeUsage), "Instance property function does not have instance parameter?"); 775Debug.Assert(functionExpression.Function.Parameters.Count > 0 && Helper.IsSpatialType(functionExpression.Function.Parameters[0].TypeUsage), "Instance method function does not have instance parameter?");
System\Data\SqlClient\SqlProviderManifest.cs (3)
240edmFunction.Parameters.Any(p => Helper.IsSpatialType(p.TypeUsage))) 245ReadOnlyMetadataCollection<FunctionParameter> funParams = edmFunction.Parameters; 299ReadOnlyMetadataCollection<FunctionParameter> funParams = edmFunction.Parameters;
System\Data\SqlClient\SqlProviderServices.cs (1)
116if (null != function && function.Parameters.TryGetValue(queryParameter.Key, false, out functionParameter)) {
System.Data.Entity.Design (4)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
210foreach (FunctionParameter parameter in function.Parameters)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (1)
507f.Parameters.All(p => p.Mode == ParameterMode.In));
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
522foreach (FunctionParameter parameter in functionImport.Parameters) 528foreach (FunctionParameter parameter in functionImport.Parameters)