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