8 instantiations of FunctionParameter
System.Data.Entity (8)
System\Data\Metadata\Converter.cs (3)
895
FunctionParameter returnParameter = new
FunctionParameter
(EdmConstants.ReturnType + modifier, returnType, ParameterMode.ReturnValue);
923
returnParameters.Add(new
FunctionParameter
(EdmConstants.ReturnType, returnType, ParameterMode.ReturnValue));
983
FunctionParameter parameter = new
FunctionParameter
(somParameter.Name,
System\Data\Metadata\Edm\Provider\EdmProviderManifestFunctionBuilder.cs (3)
183
return new
FunctionParameter
(parameterName, this.primitiveTypes[(int)primitiveParameterType], ParameterMode.In);
188
return new
FunctionParameter
("collection", TypeUsage.Create(this.primitiveTypes[(int)collectionParameterTypeElementTypeKind].EdmType.GetCollectionType()), ParameterMode.In);
193
return new
FunctionParameter
(EdmConstants.ReturnType, this.primitiveTypes[(int)primitiveReturnType], ParameterMode.ReturnValue);
System\Data\Metadata\StoreItemCollection.cs (2)
380
new
FunctionParameter
(
394
FunctionParameter edmTypeParameter = new
FunctionParameter
(parameter.Name, edmTypeUsage, parameter.GetParameterMode());
107 references to FunctionParameter
System.Data.Entity (89)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (5)
318
private static
FunctionParameter
[] GetExpectedParameters(EdmFunction function)
338
FunctionParameter
[] expectedParams = GetExpectedParameters(function);
1494
FunctionParameter
[] expectedParams = GetExpectedParameters(function);
1845
private static void CheckParameter(
FunctionParameter
paramMeta, string varName)
1894
IList<
FunctionParameter
> functionParams = function.Parameters;
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (1)
69
foreach (
FunctionParameter
funcParam in function.Parameters)
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (3)
152
internal void Dump(IEnumerable<
FunctionParameter
> paramList)
155
foreach (
FunctionParameter
param in paramList)
260
foreach (
var
returnParameter in function.ReturnParameters)
System\Data\Common\Utils\MetadataHelper.cs (2)
64
FunctionParameter
returnParameter = GetReturnParameter(functionImport, resultSetIndex);
79
internal static
FunctionParameter
GetReturnParameter(EdmFunction functionImport, int resultSetIndex)
System\Data\EntityClient\EntityCommandDefinition.cs (2)
96
IList<
FunctionParameter
> returnParameters = entityCommandTree.EdmFunction.ReturnParameters;
187
FunctionParameter
returnParameter = MetadataHelper.GetReturnParameter(functionImport, resultSetIndex);
System\Data\Mapping\BaseMetadataMappingVisitor.cs (3)
266
foreach (
var
functionParameter in edmFunction.Parameters)
270
foreach (
var
returnParameter in edmFunction.ReturnParameters)
330
protected virtual void Visit(
FunctionParameter
functionParameter)
System\Data\Mapping\FunctionImportMappingComposable.cs (2)
254
foreach (
var
targetParameter in this.TargetFunction.Parameters)
257
var
functionImportParameter = this.FunctionImport.Parameters.Single(p => p.Name == targetParameter.Name);
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
681
protected override void Visit(
FunctionParameter
functionParameter)
System\Data\Mapping\StorageMappingItemLoader.cs (13)
1757
foreach (
FunctionParameter
targetParameter in targetFunction.Parameters)
1760
FunctionParameter
importParameter;
1819
foreach (
FunctionParameter
importParameter in functionImport.Parameters)
1822
FunctionParameter
targetParameter;
3736
private readonly Set<
FunctionParameter
> m_seenParameters;
3761
m_seenParameters = new Set<
FunctionParameter
>();
3767
FunctionParameter
rowsAffectedParameter;
3789
FunctionParameter
rowsAffectedParameter;
3891
Set<
FunctionParameter
> unmappedParameters = new Set<
FunctionParameter
>(m_function.Parameters);
4221
FunctionParameter
parameter = null;
4337
private EdmFunction LoadAndValidateFunctionMetadata(XPathNavigator nav, out
FunctionParameter
rowsAffectedParameter)
4418
foreach (
FunctionParameter
parameter in function.Parameters)
System\Data\Mapping\StorageModificationFunctionMapping.cs (4)
136
FunctionParameter
rowsAffectedParameter,
160
internal readonly
FunctionParameter
RowsAffectedParameter;
262
internal StorageModificationFunctionParameterBinding(
FunctionParameter
parameter, StorageModificationFunctionMemberPath memberPath, bool isCurrent)
272
internal readonly
FunctionParameter
Parameter;
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (1)
158
internal void RegisterRowsAffectedParameter(
FunctionParameter
rowsAffectedParameter)
System\Data\Mapping\ViewGeneration\Utils\ExternalCalls.cs (1)
87
IList<
FunctionParameter
> functionParameters,
System\Data\Metadata\Converter.cs (6)
872
List<
FunctionParameter
> returnParameters = new List<
FunctionParameter
>();
895
FunctionParameter
returnParameter = new FunctionParameter(EdmConstants.ReturnType + modifier, returnType, ParameterMode.ReturnValue);
964
List<
FunctionParameter
> parameters = new List<
FunctionParameter
>();
983
FunctionParameter
parameter = new FunctionParameter(somParameter.Name,
System\Data\Metadata\Edm\EdmFunction.cs (18)
32
FunctionParameter
[] returnParameters = payload.ReturnParameters;
37
_returnParameters = new ReadOnlyMetadataCollection<
FunctionParameter
>(
39
.Select((returnParameter) => SafeLink<EdmFunction>.BindChild<
FunctionParameter
>(this,
FunctionParameter
.DeclaringFunctionLinker, returnParameter))
84
foreach (
FunctionParameter
parameter in payload.Parameters)
94
_parameters = new SafeLinkCollection<EdmFunction,
FunctionParameter
>(this,
FunctionParameter
.DeclaringFunctionLinker, new MetadataCollection<
FunctionParameter
>(payload.Parameters));
98
_parameters = new ReadOnlyMetadataCollection<
FunctionParameter
>(new MetadataCollection<
FunctionParameter
>());
105
private readonly ReadOnlyMetadataCollection<
FunctionParameter
> _returnParameters;
106
private readonly ReadOnlyMetadataCollection<
FunctionParameter
> _parameters;
136
public ReadOnlyMetadataCollection<
FunctionParameter
> Parameters
186
public
FunctionParameter
ReturnParameter
198
public ReadOnlyMetadataCollection<
FunctionParameter
> ReturnParameters
318
foreach (
FunctionParameter
returnParameter in ReturnParameters)
447
public
FunctionParameter
[] ReturnParameters;
449
public
FunctionParameter
[] Parameters;
System\Data\Metadata\Edm\FunctionParameter.cs (1)
22
internal static Func<
FunctionParameter
, SafeLink<EdmFunction>> DeclaringFunctionLinker = fp => fp._declaringFunction;
System\Data\Metadata\Edm\Provider\EdmProviderManifestFunctionBuilder.cs (10)
81
FunctionParameter
returnParameter = CreateReturnParameter(returnTypeKind);
82
FunctionParameter
collectionParameter = CreateAggregateParameter(collectionArgumentElementTypeKind);
91
ReturnParameters = new
FunctionParameter
[] {returnParameter},
92
Parameters = new
FunctionParameter
[1] { collectionParameter },
162
FunctionParameter
returnParameter = CreateReturnParameter(returnType);
163
FunctionParameter
[] parameters = parameterDefinitions.Select(paramDef => CreateParameter(paramDef.Value, paramDef.Key)).ToArray();
171
ReturnParameters = new
FunctionParameter
[] {returnParameter},
181
private
FunctionParameter
CreateParameter(PrimitiveTypeKind primitiveParameterType, string parameterName)
186
private
FunctionParameter
CreateAggregateParameter(PrimitiveTypeKind collectionParameterTypeElementTypeKind)
191
private
FunctionParameter
CreateReturnParameter(PrimitiveTypeKind primitiveReturnType)
System\Data\Metadata\StoreItemCollection.cs (8)
373
FunctionParameter
returnParameter = null;
386
List<
FunctionParameter
> parameters = new List<
FunctionParameter
>();
390
foreach (
var
parameter in sTypeFunction.Parameters)
394
FunctionParameter
edmTypeParameter = new FunctionParameter(parameter.Name, edmTypeUsage, parameter.GetParameterMode());
399
FunctionParameter
[] returnParameters =
400
returnParameter == null ? new
FunctionParameter
[0] : new
FunctionParameter
[] { returnParameter };
System\Data\Objects\ObjectContext.cs (3)
2771
FunctionParameter
functionParameter = FindParameterMetadata(functionImport, parameters, i);
2833
private static
FunctionParameter
FindParameterMetadata(EdmFunction functionImport, ObjectParameter[] parameters, int ordinal)
2839
FunctionParameter
functionParameter;
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (1)
558
foreach (
FunctionParameter
functionParameter in e.Function.Parameters)
System\Data\SqlClient\SqlProviderManifest.cs (3)
245
ReadOnlyMetadataCollection<
FunctionParameter
> funParams = edmFunction.Parameters;
299
ReadOnlyMetadataCollection<
FunctionParameter
> funParams = edmFunction.Parameters;
316
foreach (
FunctionParameter
funParam in funParams)
System\Data\SqlClient\SqlProviderServices.cs (1)
115
FunctionParameter
functionParameter;
System.Data.Entity.Design (18)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (2)
210
foreach (
FunctionParameter
parameter in function.Parameters)
238
private void WriteFunctionParameterElement(
FunctionParameter
parameter)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (4)
544
ReturnParameters = new
FunctionParameter
[] {new FunctionParameter(EdmConstants.ReturnType, returnTypeUsage, ParameterMode.ReturnValue)},
558
private
FunctionParameter
CreateFunctionImportParameter(
FunctionParameter
storeParameter, UniqueIdentifierService usedParameterNames)
563
var
modelParameter = new FunctionParameter(name, cspaceTypeUsage, storeParameter.Mode);
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (7)
547
FunctionParameter
returnParameter = null;
632
List<
FunctionParameter
> functionParameters = new List<
FunctionParameter
>();
667
FunctionParameter
parameter = new FunctionParameter(parameterName, parameterType, mode);
688
FunctionParameter
[] returnParameters =
689
returnParameter == null ? new
FunctionParameter
[0] : new
FunctionParameter
[] {returnParameter};
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (5)
522
foreach (
FunctionParameter
parameter in functionImport.Parameters)
528
foreach (
FunctionParameter
parameter in functionImport.Parameters)
564
private CodeExpression CreateFunctionParameter(CodeMemberMethod method, UniqueIdentifierService uniqueIdentifierService,
FunctionParameter
parameter)
629
private void CreateFunctionArgument(CodeMemberMethod method, UniqueIdentifierService uniqueIdentifierService,
FunctionParameter
parameter)
643
private static Type DetermineParameterType(
FunctionParameter
parameter)