System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (9)
458recordCols.Add(new KeyValuePair<string, TypeUsage>(input.VariableName, input.VariableType));
459recordCols.Add(new KeyValuePair<string, TypeUsage>(apply.VariableName, apply.VariableType));
501columns.Add(new KeyValuePair<string, TypeUsage>(input.VariableName, input.VariableType));
548columns.Add(new KeyValuePair<string, TypeUsage>(left.VariableName, left.VariableType));
549columns.Add(new KeyValuePair<string, TypeUsage>(right.VariableName, right.VariableType));
591columns.Add(new KeyValuePair<string, TypeUsage>(keyInfo.Key, keyInfo.Value.ResultType));
630columns.Add(new KeyValuePair<string, TypeUsage>(aggInfo.Key, aggInfo.Value.ResultType));
1149return new KeyValuePair<string, DbExpression>(keyMembers[idx].Name, valueExp);
1575columnTypes.Add(new KeyValuePair<string, TypeUsage>(columnValue.Key, columnValue.Value.ResultType));
System\Data\Common\EntitySql\SemanticAnalyzer.cs (9)
2514rowTypeDefExpr.Properties.Select(p => new KeyValuePair<string, TypeUsage>(p.Name.Name, ConvertTypeDefinition(p.Type, sr))),
2907projectionItems.Add(new KeyValuePair<string, DbExpression>(aliasName, converted));
3733aggregates.Add(new KeyValuePair<string, DbAggregate>(
3752aggregates.Add(new KeyValuePair<string, DbAggregate>(groupAggregateVarRef.VariableName, groupAggregateDefinition));
3759groupKeys.Select(keyInfo => new KeyValuePair<string, DbExpression>(keyInfo.Name, keyInfo.VarBasedKeyExpr)),
3791new KeyValuePair<string, DbExpression>(keyInfo.Name, groupBinding.Variable.Property(keyInfo.Name))));
3798.Select(groupAggregateInfo => new KeyValuePair<string, DbExpression>(
3915groupPartitionDefinitions.Add(new KeyValuePair<string, DbExpression>(
3929groupPartitionDefinitions.Add(new KeyValuePair<string, DbExpression>(
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (4)
152m_inputIdentifiers.Add(new KeyValuePair<int, DbParameter>(principal, parameter));
178m_resultColumns.Add(new KeyValuePair<string, PropagatorResult>(columnName, result));
251.Select(r => new KeyValuePair<int, PropagatorResult>(GetColumnOrdinal(translator, reader, r.Key), r.Value))
269generatedValues.Add(new KeyValuePair<PropagatorResult, object>(result, value));
System\Data\Metadata\Edm\Provider\EdmProviderManifestFunctionBuilder.cs (19)
108this.AddFunction(returnType, functionName, new[] { new KeyValuePair<string, PrimitiveTypeKind>(argumentName, argumentTypeKind) });
114new[] { new KeyValuePair<string, PrimitiveTypeKind>(argument1Name, argument1TypeKind),
115new KeyValuePair<string, PrimitiveTypeKind>(argument2Name, argument2TypeKind)});
121new[] { new KeyValuePair<string, PrimitiveTypeKind>(argument1Name, argument1TypeKind),
122new KeyValuePair<string, PrimitiveTypeKind>(argument2Name, argument2TypeKind),
123new KeyValuePair<string, PrimitiveTypeKind>(argument3Name, argument3TypeKind)});
134new[] { new KeyValuePair<string, PrimitiveTypeKind>(argument1Name, argument1TypeKind),
135new KeyValuePair<string, PrimitiveTypeKind>(argument2Name, argument2TypeKind),
136new KeyValuePair<string, PrimitiveTypeKind>(argument3Name, argument3TypeKind),
137new KeyValuePair<string, PrimitiveTypeKind>(argument4Name, argument4TypeKind),
138new KeyValuePair<string, PrimitiveTypeKind>(argument5Name, argument5TypeKind),
139new KeyValuePair<string, PrimitiveTypeKind>(argument6Name, argument6TypeKind)});
151new[] { new KeyValuePair<string, PrimitiveTypeKind>(argument1Name, argument1TypeKind),
152new KeyValuePair<string, PrimitiveTypeKind>(argument2Name, argument2TypeKind),
153new KeyValuePair<string, PrimitiveTypeKind>(argument3Name, argument3TypeKind),
154new KeyValuePair<string, PrimitiveTypeKind>(argument4Name, argument4TypeKind),
155new KeyValuePair<string, PrimitiveTypeKind>(argument5Name, argument5TypeKind),
156new KeyValuePair<string, PrimitiveTypeKind>(argument6Name, argument6TypeKind),
157new KeyValuePair<string, PrimitiveTypeKind>(argument7Name, argument7TypeKind)});
System\Data\Objects\DataClasses\RelatedEnd.cs (8)
1786new KeyValuePair<string, EntityKey>(_navigation.From, ownerKey),
1787new KeyValuePair<string, EntityKey>(_navigation.To, entityKey));
2161new KeyValuePair<string, EntityKey>(_navigation.From, ownerKey),
2162new KeyValuePair<string, EntityKey>(_navigation.To, entityKey)),
2248new KeyValuePair<string, EntityKey>(navigation.From, ownerKey),
2249new KeyValuePair<string, EntityKey>(navigation.To, entityKey));
2262new KeyValuePair<string, EntityKey>(navigation.From, ownerKey),
2263new KeyValuePair<string, EntityKey>(navigation.To, entityKey));
System\Data\Objects\ELinq\MethodCallTranslator.cs (10)
661newColumns.Add(new KeyValuePair<string, DbExpression>(propertyExpr.Property.Name, newExpr));
665newColumns.Add(new KeyValuePair<string, DbExpression>(propertyExpr.Property.Name, propertyExpr));
1621new KeyValuePair<string, TypeUsage>(outerBinding.VariableName, outerBinding.VariableType),
1622new KeyValuePair<string, TypeUsage>(innerBinding.VariableName, innerBinding.VariableType)
2543new KeyValuePair<string, TypeUsage>(newInput.VariableName, newInput.VariableType),
2544new KeyValuePair<string, TypeUsage>(newApply.VariableName, newApply.VariableType)
2761keys.Add(new KeyValuePair<string, CqtExpression>(KeyColumnName, keySelector));
2762aggregates.Add(new KeyValuePair<string, DbAggregate>(GroupColumnName, sourceGroupBinding.GroupAggregate));
2886recordColumns.Add(new KeyValuePair<string, CqtExpression>(outerColumn, outerBinding.Variable));
2887recordColumns.Add(new KeyValuePair<string, CqtExpression>(innerColumn, nestedCollection));
System\Data\Objects\ELinq\Translator.cs (6)
370collectionColumns.Add(new KeyValuePair<string, DbExpression>(
372collectionColumns.Add(new KeyValuePair<string, DbExpression>(
499yield return new KeyValuePair<Type, Type>(type, collectionElementType);
507yield return new KeyValuePair<Type, Type>(interfaceType, collectionElementType);
732recordColumns.Add(new KeyValuePair<string, DbExpression>(memberName, memberValue));
843recordColumns.Add(new KeyValuePair<string, DbExpression>(memberName, memberValue));