25 references to MappingLookups
System.Data.Entity.Design (25)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (25)
386session.MappingLookups.CollapsedEntityAssociationSets.AddRange(session.CandidateCollapsedAssociations.Values);
389foreach (OneToOneMappingSerializer.CollapsedEntityAssociationSet collapsed in session.MappingLookups.CollapsedEntityAssociationSets)
417foreach (EntityType type in session.MappingLookups.StoreEntityTypeToModelEntityType.Values)
423foreach (AssociationType type in session.MappingLookups.StoreAssociationTypeToModelAssociationType.Values)
429foreach (OneToOneMappingSerializer.CollapsedEntityAssociationSet set in session.MappingLookups.CollapsedEntityAssociationSets)
438_mappingLookups = session.MappingLookups;
554session.MappingLookups.StoreFunctionToFunctionImport.Add(Tuple.Create(storeFunction, functionImport));
756session.MappingLookups.StoreEntitySetToModelEntitySet.Add(storeEntitySet, set);
766if (session.MappingLookups.StoreEntityTypeToModelEntityType.TryGetValue(storeEntityType, out foundEntity))
800session.MappingLookups.StoreEntityTypeToModelEntityType.Add(storeEntityType, entityType);
813session.MappingLookups.StoreEdmPropertyToModelEdmProperty.Add(storeProperty, property);
857EntitySet entitySet = session.MappingLookups.StoreEntitySetToModelEntitySet[storeEnd.EntitySet];
860session.MappingLookups.StoreAssociationSetEndToModelAssociationSetEnd.Add(storeEnd, setEnd);
877if (! session.MappingLookups.StoreAssociationTypeToModelAssociationType.TryGetValue(storeAssociationSet.ElementType, out association))
880session.MappingLookups.StoreAssociationTypeToModelAssociationType.Add(storeAssociationSet.ElementType, association);
889session.MappingLookups.StoreAssociationSetEndToModelAssociationSetEnd.Add(storeEnd, end);
892session.MappingLookups.StoreAssociationSetToModelAssociationSet.Add(storeAssociationSet, set);
898AssociationEndMember associationEnd = session.MappingLookups.StoreAssociationEndMemberToModelAssociationEndMember[storeEnd.CorrespondingAssociationEndMember];
899EntitySet entitySet = session.MappingLookups.StoreEntitySetToModelEntitySet[storeEnd.EntitySet];
924session.MappingLookups.StoreAssociationEndMemberToModelAssociationEndMember.Add(storeEndMember, end);
1002AssociationEndMember fromRole = session.MappingLookups.StoreAssociationEndMemberToModelAssociationEndMember[(AssociationEndMember)storeConstraint.FromRole];
1003AssociationEndMember toRole = session.MappingLookups.StoreAssociationEndMemberToModelAssociationEndMember[(AssociationEndMember)storeConstraint.ToRole];
1006fromProperties[index] = session.MappingLookups.StoreEdmPropertyToModelEdmProperty[storeConstraint.FromProperties[index]];
1007toProperties[index] = session.MappingLookups.StoreEdmPropertyToModelEdmProperty[storeConstraint.ToProperties[index]];
1090EntityType modelEntityType = session.MappingLookups.StoreEntityTypeToModelEntityType[storeEntityType];