4 instantiations of StorageMappingItemCollection
System.Data.Entity (2)
System\Data\Metadata\MetadataCache.cs (1)
729storageMappingItemCollection = new StorageMappingItemCollection(
System\Data\Metadata\MetadataWorkspace.cs (1)
109this._itemsCSSpace = new StorageMappingItemCollection(this._itemsCSpace, this._itemsSSpace, csSpaceReaders, composite.GetPaths(dataSpace));
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
1584metadataWorkspace.RegisterItemCollection(new StorageMappingItemCollection(modelGen.EdmItemCollection,
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (1)
609metadataWorkspace.RegisterItemCollection(new StorageMappingItemCollection(edmItemCollection as EdmItemCollection, storeItemCollection as StoreItemCollection));
64 references to StorageMappingItemCollection
System.Data.Entity (48)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (2)
888var mappingCollection = 889sr.TypeResolver.Perspective.MetadataWorkspace.GetItemCollection(DataSpace.CSSpace) as StorageMappingItemCollection;
System\Data\Common\Utils\MetadataHelper.cs (1)
332StorageEntityContainerMapping containerMapping = MappingMetadataHelper.GetEntityContainerMap((StorageMappingItemCollection)itemCollection, table.EntityContainer);
System\Data\EntityClient\EntityConnection.cs (1)
987StorageMappingItemCollection mappingCollection =
System\Data\Mapping\FunctionImportMappingComposable.cs (2)
35StorageMappingItemCollection mappingItemCollection, 65private readonly StorageMappingItemCollection m_mappingItemCollection;
System\Data\Mapping\StorageEntityContainerMapping.cs (3)
54internal StorageEntityContainerMapping(EntityContainer entityContainer, EntityContainer storageEntityContainer, StorageMappingItemCollection storageMappingItemCollection, bool validate, bool generateUpdateViews) 78private readonly StorageMappingItemCollection m_storageMappingItemCollection; 84public StorageMappingItemCollection StorageMappingItemCollection
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (5)
37private StorageMappingItemCollection m_storageMappingItemCollection; 56internal ViewDictionary(StorageMappingItemCollection storageMappingItemCollection, 262internal GeneratedView GetGeneratedView(EntitySetBase extent, MetadataWorkspace workspace, StorageMappingItemCollection storageMappingItemCollection) 470var mappingCollection = (workspace.GetItemCollection(DataSpace.CSSpace) as StorageMappingItemCollection);
System\Data\Mapping\StorageMappingItemLoader.cs (2)
96internal StorageMappingItemLoader(XmlReader reader, StorageMappingItemCollection storageMappingItemCollection, string fileName, Dictionary<EdmMember, KeyValuePair<TypeUsage, TypeUsage>> scalarMemberMappings) 138private StorageMappingItemCollection m_storageMappingItemCollection; //StorageMappingItemCollection
System\Data\Mapping\Update\Internal\ViewLoader.cs (2)
33internal ViewLoader(StorageMappingItemCollection mappingCollection) 41private readonly StorageMappingItemCollection m_mappingCollection;
System\Data\Mapping\ViewGeneration\CqlGenerator.cs (2)
40StorageMappingItemCollection mappingItemCollection) 78private readonly StorageMappingItemCollection m_mappingItemCollection;
System\Data\Mapping\ViewGeneration\GeneratedView.cs (6)
39StorageMappingItemCollection mappingItemCollection, 71StorageMappingItemCollection mappingItemCollection, 85StorageMappingItemCollection mappingItemCollection, 143StorageMappingItemCollection mappingItemCollection, 174private readonly StorageMappingItemCollection m_mappingItemCollection; 234StorageMappingItemCollection mappingItemCollection,
System\Data\Mapping\ViewGeneration\Utils\ExternalCalls.cs (2)
36StorageMappingItemCollection mappingItemCollection, 53StorageMappingItemCollection mappingItemCollection,
System\Data\Metadata\MappingMetadataHelper.cs (5)
24internal static IEnumerable<StorageTypeMapping> GetMappingsForEntitySetAndType(StorageMappingItemCollection mappingCollection, EntityContainer container, EntitySetBase entitySet, EntityTypeBase entityType) 45internal static IEnumerable<StorageTypeMapping> GetMappingsForEntitySetAndSuperTypes(StorageMappingItemCollection mappingCollection, EntityContainer container, EntitySetBase entitySet, EntityTypeBase childEntityType) 58private static IEnumerable<StorageTypeMapping> GetIsTypeOfMappingsForEntitySetAndType(StorageMappingItemCollection mappingCollection, EntityContainer container, EntitySetBase entitySet, EntityTypeBase entityType, EntityTypeBase childEntityType) 69internal static IEnumerable<StorageEntityTypeModificationFunctionMapping> GetModificationFunctionMappingsForEntitySetAndType(StorageMappingItemCollection mappingCollection, EntityContainer container, EntitySetBase entitySet, EntityTypeBase entityType) 90internal static StorageEntityContainerMapping GetEntityContainerMap(StorageMappingItemCollection mappingCollection, EntityContainer entityContainer)
System\Data\Metadata\MetadataCache.cs (4)
281internal static StorageMappingItemCollection GetOrCreateStoreAndMappingItemCollections( 681internal StorageMappingItemCollection StorageMappingItemCollection 685return (StorageMappingItemCollection)this.ItemCollection; 725StorageMappingItemCollection storageMappingItemCollection = null;
System\Data\Metadata\MetadataWorkspace.cs (11)
119private StorageMappingItemCollection _itemsCSSpace; 238_itemsCSSpace = (StorageMappingItemCollection)collection; 309versionToRegister = ((StorageMappingItemCollection)itemCollectionToRegister).MappingVersion; 1187return ((StorageMappingItemCollection)collection).GetGeneratedView(extent, this); 1198return ((StorageMappingItemCollection)collection).TryGetGeneratedViewOfType(this, extent, type, includeSubtypes, out generatedView); 1396return GetInterestingMembers(entitySet, entityType, StorageMappingItemCollection.InterestingMembersKind.RequiredOriginalValueMembers); 1418StorageMappingItemCollection.InterestingMembersKind.PartialUpdate : 1419StorageMappingItemCollection.InterestingMembersKind.FullUpdate); 1429private ReadOnlyCollection<EdmMember> GetInterestingMembers(EntitySetBase entitySet, EntityTypeBase entityType, StorageMappingItemCollection.InterestingMembersKind interestingMembersKind) 1464var mappingCollection = (StorageMappingItemCollection)GetItemCollection(DataSpace.CSSpace, true);
System.Data.Entity.Design (16)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
381StorageMappingItemCollection mappingItemCollection = new StorageMappingItemCollection(edmItemCollection,
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (12)
101public IList<EdmSchemaError> GenerateViews(StorageMappingItemCollection mappingCollection, string outputPath) 130public IList<EdmSchemaError> GenerateViews(StorageMappingItemCollection mappingCollection, TextWriter outputWriter) 150public IList<EdmSchemaError> GenerateViews(StorageMappingItemCollection mappingCollection, TextWriter outputWriter, Version targetEntityFrameworkVersion) 162private static void CheckForCompatibleSchemaAndTarget(StorageMappingItemCollection mappingCollection, Version targetEntityFrameworkVersion) 178StorageMappingItemCollection mappingCollection, 204public static IList<EdmSchemaError> Validate(StorageMappingItemCollection mappingCollection) 220public static IList<EdmSchemaError> Validate(StorageMappingItemCollection mappingCollection, Version targetEntityFrameworkVersion) 273private bool GetViewsWithErrors(StorageMappingItemCollection mappingCollection, out CodeDomProvider provider, out IList<EdmSchemaError> schemaErrors, out Dictionary<EntitySetBase, string> generatedViews) 284private void GetViewsAndCodeDomProvider(StorageMappingItemCollection mappingCollection, out CodeDomProvider provider, out IList<EdmSchemaError> schemaErrors, out Dictionary<EntitySetBase, string> generatedViews) 303private static void GetEntitySetViews(StorageMappingItemCollection mappingCollection, 309private static IList<EdmSchemaError> GetMinimumTargetFrameworkVersion(StorageMappingItemCollection mappingCollection, out Version targetFrameworkVersion) 332private static void GenerateAndStoreViews(StorageMappingItemCollection mappingCollection,
System\Data\Entity\Design\MetadataItemCollectionFactory.cs (3)
130public static StorageMappingItemCollection CreateStorageMappingItemCollection(EdmItemCollection edmCollection, 148public static StorageMappingItemCollection CreateStorageMappingItemCollection( 164StorageMappingItemCollection storageMappingItemCollection = CreateStorageMappingItemCollection(edmCollection, storeCollection, readers, out errors);