25 instantiations of KeyToListMap
System.Data.Entity (25)
System\Data\Mapping\FunctionImportMapping.cs (4)
90m_entityTypeLineInfos = new KeyToListMap<EntityType, LineInfo>(EqualityComparer<EntityType>.Default); 91m_isTypeOfLineInfos = new KeyToListMap<EntityType, LineInfo>(EqualityComparer<EntityType>.Default); 482entityTypes = new KeyToListMap<EntityType, LineInfo>(EqualityComparer<EntityType>.Default); 483isTypeOfEntityTypes = new KeyToListMap<EntityType, LineInfo>(EqualityComparer<EntityType>.Default);
System\Data\Mapping\StorageMappingItemLoader.cs (2)
630new KeyToListMap<EntitySet, StorageSetMapping>(EqualityComparer<EntitySet>.Default); 3854KeyToListMap<EdmProperty, string> propertyToColumnNamesMap = new KeyToListMap<EdmProperty, string>(EqualityComparer<EdmProperty>.Default);
System\Data\Mapping\Update\Internal\UndirectedGraph.cs (1)
88KeyToListMap<int, TVertex> result = new KeyToListMap<int, TVertex>(EqualityComparer<int>.Default);
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (7)
85sourceMap = new KeyToListMap<EntitySetBase, ReferentialConstraint>(EqualityComparer<EntitySetBase>.Default); 86targetMap = new KeyToListMap<EntitySetBase, ReferentialConstraint>(EqualityComparer<EntitySetBase>.Default); 274KeyToListMap<ForeignKeyValue, UpdateCommand> predecessors = new KeyToListMap<ForeignKeyValue, UpdateCommand>( 334KeyToListMap<EntityKey, UpdateCommand> addedEntities = new KeyToListMap<EntityKey, UpdateCommand>(EqualityComparer<EntityKey>.Default); 335KeyToListMap<EntityKey, UpdateCommand> deletedEntities = new KeyToListMap<EntityKey, UpdateCommand>(EqualityComparer<EntityKey>.Default); 336KeyToListMap<EntityKey, UpdateCommand> addedRelationships = new KeyToListMap<EntityKey, UpdateCommand>(EqualityComparer<EntityKey>.Default); 337KeyToListMap<EntityKey, UpdateCommand> deletedRelationships = new KeyToListMap<EntityKey, UpdateCommand>(EqualityComparer<EntityKey>.Default);
System\Data\Mapping\Update\Internal\ViewLoader.cs (1)
270KeyToListMap<AssociationSet, AssociationEndMember> requiredEnds = new KeyToListMap<AssociationSet, AssociationEndMember>(
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (3)
125new KeyToListMap<EntitySetBase, LeafCellTreeNode>(EqualityComparer<EntitySetBase>.Default); 307var extentMap = new KeyToListMap<EntitySet, LeafCellTreeNode>(EqualityComparer<EntitySet>.Default); 361var pkFkMap = new KeyToListMap<EntitySet, EntitySet>(EqualityComparer<EntitySet>.Default);
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (2)
285new KeyToListMap<EntitySetBase, CellTreeNode>(EqualityComparer<EntitySetBase>.Default); 314new KeyToListMap<EntitySetBase, CellTreeNode>(EqualityComparer<EntitySetBase>.Default);
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (1)
210KeyToListMap<MemberProjectedSlot, int> slotMap = new KeyToListMap<MemberProjectedSlot, int>(ProjectedSlot.EqualityComparer);
System\Data\Mapping\ViewGeneration\Validator.cs (1)
203new KeyToListMap<ExtentPair, ViewKeyConstraint>(EqualityComparer<ExtentPair>.Default);
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (1)
497new KeyToListMap<EntitySetBase, Cell>(EqualityComparer<EntitySetBase>.Default);
System\Data\Mapping\ViewGeneration\ViewGenResults.cs (1)
28m_views = new KeyToListMap<EntitySetBase, GeneratedView>(EqualityComparer<EntitySetBase>.Default);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
1898var map = new KeyToListMap<DbExpression, DbExpression>(KeyFieldExpressionComparer.Singleton);
59 references to KeyToListMap
System.Data.Entity (59)
System\Data\Mapping\FunctionImportMapping.cs (8)
198private readonly KeyToListMap<EntityType, LineInfo> m_entityTypeLineInfos; 199private readonly KeyToListMap<EntityType, LineInfo> m_isTypeOfLineInfos; 226KeyToListMap<EntityType, LineInfo> unreachableEntityTypes; 227KeyToListMap<EntityType, LineInfo> unreachableIsTypeOfs; 275out KeyToListMap<EntityType, LineInfo> unreachableEntityTypes, 276out KeyToListMap<EntityType, LineInfo> unreachableIsTypeOfs) 479private void CollectUnreachableTypes(Set<EntityType> reachableTypes, out KeyToListMap<EntityType, LineInfo> entityTypes, out KeyToListMap<EntityType, LineInfo> isTypeOfEntityTypes)
System\Data\Mapping\StorageMappingItemCollection.cs (1)
430KeyToListMap<EntitySetBase, GeneratedView> extentMappingViews = viewGenResults.Views;
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (2)
134KeyToListMap<EntitySetBase, GeneratedView> extentMappingViews = viewGenResults.Views; 185KeyToListMap<EntitySetBase, GeneratedView> extentMappingViews = viewGenResults.Views;
System\Data\Mapping\StorageMappingItemLoader.cs (2)
629KeyToListMap<EntitySet, StorageSetMapping> setMappingPerTable = 3854KeyToListMap<EdmProperty, string> propertyToColumnNamesMap = new KeyToListMap<EdmProperty, string>(EqualityComparer<EdmProperty>.Default);
System\Data\Mapping\Update\Internal\UndirectedGraph.cs (2)
61internal KeyToListMap<int, TVertex> GenerateConnectedComponents() { 88KeyToListMap<int, TVertex> result = new KeyToListMap<int, TVertex>(EqualityComparer<int>.Default);
System\Data\Mapping\Update\Internal\UpdateCommand.cs (6)
101KeyToListMap<EntityKey, UpdateCommand> addedEntities, 102KeyToListMap<EntityKey, UpdateCommand> deletedEntities, 103KeyToListMap<EntityKey, UpdateCommand> addedRelationships, 104KeyToListMap<EntityKey, UpdateCommand> deletedRelationships) 150KeyToListMap<EntityKey, UpdateCommand> affected = isAdded ? addedRelationships : deletedRelationships; 160private void AddReferencedEntities(UpdateTranslator translator, PropagatorResult result, KeyToListMap<EntityKey, UpdateCommand> referencedEntities)
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (14)
29private readonly KeyToListMap<EntitySetBase, ReferentialConstraint> _sourceMap; 35private readonly KeyToListMap<EntitySetBase, ReferentialConstraint> _targetMap; 83private static void InitializeForeignKeyMaps(HashSet<EntityContainer> containers, HashSet<EntitySet> tables, out KeyToListMap<EntitySetBase, ReferentialConstraint> sourceMap, out KeyToListMap<EntitySetBase, ReferentialConstraint> targetMap) 180KeyToListMap<ForeignKeyValue, UpdateCommand> predecessors = DetermineForeignKeyPredecessors(); 192private void AddForeignKeyEdges(KeyToListMap<ForeignKeyValue, UpdateCommand> predecessors) 272private KeyToListMap<ForeignKeyValue, UpdateCommand> DetermineForeignKeyPredecessors() 274KeyToListMap<ForeignKeyValue, UpdateCommand> predecessors = new KeyToListMap<ForeignKeyValue, UpdateCommand>( 334KeyToListMap<EntityKey, UpdateCommand> addedEntities = new KeyToListMap<EntityKey, UpdateCommand>(EqualityComparer<EntityKey>.Default); 335KeyToListMap<EntityKey, UpdateCommand> deletedEntities = new KeyToListMap<EntityKey, UpdateCommand>(EqualityComparer<EntityKey>.Default); 336KeyToListMap<EntityKey, UpdateCommand> addedRelationships = new KeyToListMap<EntityKey, UpdateCommand>(EqualityComparer<EntityKey>.Default); 337KeyToListMap<EntityKey, UpdateCommand> deletedRelationships = new KeyToListMap<EntityKey, UpdateCommand>(EqualityComparer<EntityKey>.Default); 351private void AddModelDependencies(KeyToListMap<EntityKey, UpdateCommand> producedMap, KeyToListMap<EntityKey, UpdateCommand> requiredMap)
System\Data\Mapping\Update\Internal\ViewLoader.cs (1)
270KeyToListMap<AssociationSet, AssociationEndMember> requiredEnds = new KeyToListMap<AssociationSet, AssociationEndMember>(
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (3)
124KeyToListMap<EntitySetBase, LeafCellTreeNode> extentMap = 307var extentMap = new KeyToListMap<EntitySet, LeafCellTreeNode>(EqualityComparer<EntitySet>.Default); 361var pkFkMap = new KeyToListMap<EntitySet, EntitySet>(EqualityComparer<EntitySet>.Default);
System\Data\Mapping\ViewGeneration\CellPartitioner.cs (1)
122KeyToListMap<int, Cell> groupMap = graph.GenerateConnectedComponents();
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (2)
284KeyToListMap<EntitySetBase, CellTreeNode> extentMap = 313KeyToListMap<EntitySetBase, CellTreeNode> extentMap =
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (1)
210KeyToListMap<MemberProjectedSlot, int> slotMap = new KeyToListMap<MemberProjectedSlot, int>(ProjectedSlot.EqualityComparer);
System\Data\Mapping\ViewGeneration\Validator.cs (1)
202KeyToListMap<ExtentPair, ViewKeyConstraint> extentPairConstraints =
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (10)
25using ViewSet = KeyToListMap<EntitySetBase, GeneratedView>; 106internal ErrorLog GenerateAllBidirectionalViews(ViewSet views, CqlIdentifiers identifiers) 168internal ErrorLog GenerateQueryViewForSingleExtent(ViewSet views, CqlIdentifiers identifiers, EntitySetBase entity, EntityTypeBase type, ViewGenMode mode) 242private ErrorLog GenerateQueryViewForExtentAndType(StorageEntityContainerMapping entityContainerMapping, CqlIdentifiers identifiers, ViewSet views, EntitySetBase entity, EntityTypeBase type, ViewGenMode mode) 285private ErrorLog GenerateDirectionalViews(ViewTarget viewTarget, CqlIdentifiers identifiers, ViewSet views) 290KeyToListMap<EntitySetBase, Cell> extentCellMap = GroupCellsByExtent(m_cellGroup, viewTarget); 346private QueryRewriter GenerateDirectionalViewsForExtent(ViewTarget viewTarget, EntitySetBase extent, CqlIdentifiers identifiers, ViewSet views) 403private QueryRewriter GenerateViewsForExtentAndType(EdmType generatedType, ViewgenContext context, CqlIdentifiers identifiers, ViewSet views, ViewGenMode mode) 491private static KeyToListMap<EntitySetBase, Cell> GroupCellsByExtent(IEnumerable<Cell> cells, ViewTarget viewTarget) 496KeyToListMap<EntitySetBase, Cell> extentCellMap =
System\Data\Mapping\ViewGeneration\ViewGenResults.cs (2)
34private KeyToListMap<EntitySetBase, GeneratedView> m_views; 40internal KeyToListMap<EntitySetBase, GeneratedView> Views
System\Data\SqlClient\SqlGen\SqlGenerator.cs (3)
1898var map = new KeyToListMap<DbExpression, DbExpression>(KeyFieldExpressionComparer.Singleton); 2137private bool TryAddExpressionForIn(DbBinaryExpression e, KeyToListMap<DbExpression, DbExpression> values) 2160private bool HasBuiltMapForIn(DbExpression e, KeyToListMap<DbExpression, DbExpression> values)